Common Module - Fix Storage Node Dashboard

This commit is contained in:
Mike Reeves
2018-11-26 21:01:02 -05:00
parent 689df66267
commit f985b94594
3 changed files with 7 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ echo "Applying cross cluster search config..."
-d "{\"persistent\": {\"search\": {\"remote\": {\"{{ MASTER }}\": {\"seeds\": [\"127.0.0.1:9300\"]}}}}}"
# Add all the storage nodes to cross cluster searching.
#{%- for SN, SNIP in salt['pillar.get']('nodestab', {}).iteritems() %}}
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).iteritems() %}
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 %}