From bde86e0383ed6673211a382850cf6202507d1131 Mon Sep 17 00:00:00 2001 From: weslambert Date: Mon, 19 Jul 2021 12:42:46 -0400 Subject: [PATCH] Use http_auth instead of username/password until Curator is upgraded to next version --- salt/curator/files/curator.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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