From 362749ca85a77f21447fe42387bb57fe7063da3a Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 11 Aug 2020 13:00:42 -0400 Subject: [PATCH] Make hostnames default in cross cluster --- salt/utility/bin/crossthestreams | 4 ---- 1 file changed, 4 deletions(-) diff --git a/salt/utility/bin/crossthestreams b/salt/utility/bin/crossthestreams index a057e261b..e67ce9f57 100644 --- a/salt/utility/bin/crossthestreams +++ b/salt/utility/bin/crossthestreams @@ -37,10 +37,6 @@ echo "Applying cross cluster search config..." {%- if salt['pillar.get']('nodestab', {}) %} {%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %} - {%- if FEATURES is sameas true %} curl -XPUT http://{{ ES }}:9200/_cluster/settings -H'Content-Type: application/json' -d '{"persistent": {"search": {"remote": {"{{ SN }}": {"skip_unavailable": "true", "seeds": ["{{ SN.split('_')|first }}:9300"]}}}}}' - {%- else %} -curl -XPUT http://{{ ES }}:9200/_cluster/settings -H'Content-Type: application/json' -d '{"persistent": {"search": {"remote": {"{{ SN }}": {"skip_unavailable": "true", "seeds": ["{{ SNDATA.ip }}:9300"]}}}}}' - {%- endif %} {%- endfor %} {%- endif %}