diff --git a/salt/utility/bin/crossthestreams b/salt/utility/bin/crossthestreams index 060e943a1..c8768230e 100644 --- a/salt/utility/bin/crossthestreams +++ b/salt/utility/bin/crossthestreams @@ -38,9 +38,3 @@ echo "Applying cross cluster search config..." curl -XPUT http://{{ ES }}:9200/_cluster/settings -H'Content-Type: application/json' -d '{"persistent": {"search": {"remote": {"{{ SN }}": {"skip_unavailable": "true", "seeds": ["{{ SNDATA.ip }}:9300"]}}}}}' {%- endfor %} {%- endif %} - -{%- if salt['pillar.get']('mastersearchtab', {}) %} - {%- for SN, SNDATA in salt['pillar.get']('mastersearchtab', {}).items() %} -curl -XPUT http://{{ ES }}:9200/_cluster/settings -H'Content-Type: application/json' -d '{"persistent": {"search": {"remote": {"{{ SN }}": {"skip_unavailable": "true", "seeds": ["{{ SNDATA.ip }}:9300"]}}}}}' - {%- endfor %} -{%- endif %}