mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 01:02:46 +01:00
have standalone and managersearch pull from redis nodes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{% set REDIS_NODES = [] %}
|
||||
{% set mainint = salt['pillar.get']('host:mainint') %}
|
||||
{% set localhostip = salt['grains.get']('ip_interfaces').get(mainint)[0] %}
|
||||
{% if role in ['so-node'] %}
|
||||
{% if role in ['so-node', 'so-standalone', 'so-managersearch'] %}
|
||||
{% set node_data = salt['pillar.get']('logstash:nodes') %}
|
||||
{% for node_type, node_details in node_data.items() | sort %}
|
||||
{% if node_type in ['manager', 'managersearch', 'standalone', 'receiver' ] %}
|
||||
|
||||
Reference in New Issue
Block a user