Page MenuHomeDevCentral

config.sls
No OneTemporary

config.sls

# -------------------------------------------------------------
# Salt — Provision OpenSearch
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# -------------------------------------------------------------
{% set config = salt['opensearch.get_config']() %}
# -------------------------------------------------------------
# OpenSearch
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/opt/opensearch-dashboards/config/opensearch_dashboards.yml:
file.managed:
- source: salt://roles/opensearch/dashboards/files/opensearch_dashboards.yml.jinja
- user: opensearch
- group: opensearch
- mode: 600
- template: jinja
- context:
config: {{ config }}
username: {{ salt['credentials.get_username'](config['users']['dashboards']) }}
password: {{ salt['credentials.get_password'](config['users']['dashboards']) }}

File Metadata

Mime Type
text/plain
Expires
Fri, May 15, 11:55 (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3701186
Default Alt Text
config.sls (932 B)

Event Timeline