mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Bro Salt Module - add endfor in node.cfg
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{%- set interface = salt['pillar.get']('sensor:interface', '') %}
|
||||
|
||||
{%- if salt['pillar.get']('sensor:bro_pins')|length > 1 %}
|
||||
{%- if salt['pillar.get']('sensor:bro_proxies'|length > 1) %}
|
||||
{%- set proxies = salt['pillar.get']('sensor:bro_proxies') %}
|
||||
@@ -14,12 +13,14 @@ host=localhost
|
||||
[proxy-{{ demproxies }}]
|
||||
type=proxy
|
||||
host=localhost
|
||||
{%- endfor %}
|
||||
|
||||
[worker-1]
|
||||
type=worker
|
||||
host=localhost
|
||||
interface=af_packet::{{ interface }}
|
||||
lb_method=custom
|
||||
|
||||
{%- if salt['pillar.get']('sensor:bro_lbprocs'|length > 1) %}
|
||||
lb_procs={{ lbprocs }}
|
||||
{%- else %}
|
||||
|
||||
Reference in New Issue
Block a user