Merge pull request #1568 from jtgreen-cse/patch-1

fix for rendering error >1 search node
This commit is contained in:
Mike Reeves
2020-10-26 16:57:17 -04:00
committed by GitHub

View File

@@ -33,7 +33,7 @@
{%- if salt['pillar.get']('nodestab', {}) %} {%- if salt['pillar.get']('nodestab', {}) %}
"remoteHostUrls": [ "remoteHostUrls": [
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %} {%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %}
"https://{{ SN.split('_')|first }}:9200"{{ "," if not loop.last }} "https://{{ SN.split('_')|first }}:9200"{{ "," if not loop.last else ""}}
{%- endfor %} {%- endfor %}
], ],
{%- endif %} {%- endif %}