mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-23 07:25:31 +01:00
heavynode
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
#
|
||||
# path.config:
|
||||
# /etc/logstash/conf.d is mapped to /usr/share/logstash/pipeline in the Docker image
|
||||
{% if grains.role != 'so-mastersearch' and grains.role != 'so-heavynode' %}
|
||||
{% if grains.role != 'so-mastersearch' and grains.role != 'so-heavynode' and grains.role != 'so-master' %}
|
||||
path.config: /usr/share/logstash/pipeline.enabled/*.conf
|
||||
{% else %}
|
||||
#path.config: /usr/share/logstash/pipeline.enabled/*.conf
|
||||
|
||||
@@ -162,7 +162,7 @@ lscustsync:
|
||||
lsconfsync:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/logstash/conf.enabled.txt
|
||||
{% if grains.role == 'so-mastersearch' %}
|
||||
{% if grains.role == 'so-mastersearch' or grains.role == 'so-heavynode' %}
|
||||
- source: salt://logstash/conf/conf.enabled.txt.so-master
|
||||
{% else %}
|
||||
- source: salt://logstash/conf/conf.enabled.txt.{{ nodetype }}
|
||||
|
||||
Reference in New Issue
Block a user