Fix yaml for idh,es,kib,esalert

This commit is contained in:
Mike Reeves
2022-09-09 15:30:28 -04:00
parent 54f7cefa28
commit 74ef6c0ed0
8 changed files with 16 additions and 390 deletions
+3
View File
@@ -31,6 +31,9 @@
{# merge with the elasticsearch pillar #}
{% set ESCONFIG = salt['pillar.get']('elasticsearch:config', default=ESCONFIG.elasticsearch.config, merge=True) %}
{% do ESCONFIG.elasticsearch.config.node.update({'name': grains.host}) %}
{% do ESCONFIG.elasticsearch.config.cluster.update({'name': grains.host}) %}
{% do ESCONFIG.elasticsearch.config.transport.update({'publish_host': grains.host}) %}
{% if salt['pillar.get']('elasticsearch:config:path:repo', False) %}
{% for repo in pillar.elasticsearch.config.path.repo %}