fix pillar call

This commit is contained in:
m0duspwnens
2021-10-20 14:50:50 -04:00
parent b496810b63
commit 7ecfb55b70

View File

@@ -644,8 +644,8 @@
url = "http://localhost:9600"
collect = ["pipelines"]
{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
username = "{{ salt['pillar.get']('elasticsearch:auth:so_logstash_user:user') }}"
password = "{{ salt['pillar.get']('elasticsearch:auth:so_logstash_user:pass') }}"
username = "{{ salt['pillar.get']('elasticsearch:auth:users:so_logstash_user:user') }}"
password = "{{ salt['pillar.get']('elasticsearch:auth:users:so_logstash_user:pass') }}"
{% endif %}
{%- endif %}