mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
fix for rendering error >1 search node
Fails rendering if you have more than one search node.
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user