diff --git a/salt/suricata/suricata_config.map.jinja b/salt/suricata/suricata_config.map.jinja index 3f2a2e3be..a1d77cb08 100644 --- a/salt/suricata/suricata_config.map.jinja +++ b/salt/suricata/suricata_config.map.jinja @@ -6,9 +6,9 @@ {% set default_evelog_index = [] %} {% set surimeta_evelog_index = [] %} -{% if salt['pillar.get']('sensor:homenet') %} +{% if salt['pillar.get']('sensor:hnsensor') %} {% load_yaml as homenet %} -HOME_NET: "[{{salt['pillar.get']('sensor:hnsensor', '')}}]" +HOME_NET: "[{{salt['pillar.get']('sensor:hnsensor')}}]" {% endload %} {% else %} {% load_yaml as homenet %}