mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Add conditional for heavynode
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
|
{%- if grains.role in ['so-heavynode'] %}
|
||||||
|
{%- set MANAGER = salt['grains.get']('host') %}
|
||||||
|
{%- else %}
|
||||||
{%- set MANAGER = salt['grains.get']('master') %}
|
{%- set MANAGER = salt['grains.get']('master') %}
|
||||||
|
{%- endif %}
|
||||||
{% set BATCH = salt['pillar.get']('logstash_settings:ls_pipeline_batch_size', 125) %}
|
{% set BATCH = salt['pillar.get']('logstash_settings:ls_pipeline_batch_size', 125) %}
|
||||||
output {
|
output {
|
||||||
redis {
|
redis {
|
||||||
|
|||||||
Reference in New Issue
Block a user