fix elasticsearch auth globals

This commit is contained in:
m0duspwnens
2022-10-13 13:54:52 -04:00
parent 04b4030eb6
commit deba743ef0

View File

@@ -10,5 +10,5 @@
%}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
{% do ELASTICSEARCH_GLOBALS.elasticsearch.append({'auth': PILLAR.elasticsearch.auth}) %}
{% do ELASTICSEARCH_GLOBALS.elasticsearch.update({'auth': INIT.PILLAR.elasticsearch.auth}) %}
{% endif %}