diff --git a/salt/curator/files/curator.yml b/salt/curator/files/curator.yml index bdde14fc1..956f60491 100644 --- a/salt/curator/files/curator.yml +++ b/salt/curator/files/curator.yml @@ -18,17 +18,15 @@ client: hosts: - {{elasticsearch}} port: 9200 -{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %} - username: {{ ES_USER }} - password: {{ ES_PASS }} -{% endif %} +{%- if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %} + http_auth: {{ ES_USER }}:{{ ES_PASS }} +{%- endif %} url_prefix: use_ssl: True certificate: client_cert: client_key: ssl_no_validate: True - http_auth: timeout: 30 master_only: False