mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Logstash Module- Fix the if
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{%- set nodetype = 'master' %}
|
||||
{%- else %}
|
||||
{%- set nodetype = salt['pillar_get']('node:node_type', 'storage') %}
|
||||
{%- endif %}
|
||||
output {
|
||||
redis {
|
||||
host => 'so-redis'
|
||||
@@ -15,5 +16,4 @@ output {
|
||||
congestion_threshold => 50000000
|
||||
# batch_events => 500
|
||||
}
|
||||
}
|
||||
{%- endif %}
|
||||
}
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
{% if grains['role'] == 'so-master' %}
|
||||
|
||||
{% set nodetype = 'master' %}
|
||||
{% set nodetype = master %}
|
||||
|
||||
{% else %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user