add extra hosts for idh node

This commit is contained in:
m0duspwnens
2022-02-25 12:21:43 -05:00
parent 96ed3cb158
commit d76facb1bb

View File

@@ -9,7 +9,7 @@
{% set FILEBEAT_EXTRA_HOSTS = [] %}
{% set mainint = salt['pillar.get']('host:mainint') %}
{% set localhostip = salt['grains.get']('ip_interfaces').get(mainint)[0] %}
{% if role in ['so-sensor', 'so-fleet', 'so-node' ] %}
{% if role in ['so-sensor', 'so-fleet', 'so-node', 'so-idh'] %}
{% 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' ] %}