diff --git a/salt/bro/files/node.cfg b/salt/bro/files/node.cfg index 281d18930..dc7ee3094 100644 --- a/salt/bro/files/node.cfg +++ b/salt/bro/files/node.cfg @@ -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 %}