Switch to new auth params

This commit is contained in:
Jason Ertel
2021-08-23 15:36:11 -04:00
parent c4a32ca631
commit 6d49bca0ac

View File

@@ -19,7 +19,8 @@ client:
- {{elasticsearch}} - {{elasticsearch}}
port: 9200 port: 9200
{%- if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %} {%- if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
http_auth: {{ ES_USER }}:{{ ES_PASS }} username: {{ ES_USER }}
password: {{ ES_PASS }}
{%- endif %} {%- endif %}
url_prefix: url_prefix:
use_ssl: True use_ssl: True