Fix soc.json

This commit is contained in:
Mike Reeves
2020-10-11 14:09:14 -04:00
parent 31e0b5c81c
commit 29c3948f95

View File

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