allow for pillar override of defaults

This commit is contained in:
m0duspwnens
2021-09-17 12:11:12 -04:00
parent 0d074dafd4
commit d0c87cd317
2 changed files with 3 additions and 9 deletions

View File

@@ -28,3 +28,5 @@
{% do ESCONFIG.elasticsearch.config.discovery.update({'seed_hosts': [grains.master]}) %}
{% endif %}
{% endif %}
{% set ESCONFIG = salt['pillar.get']('elasticsearch:config', default=ESCONFIG.elasticsearch.config, merge=True) %}