diff --git a/salt/suricata/files/suricata.yaml b/salt/suricata/files/suricata.yaml index cf88a2685..244e5f160 100644 --- a/salt/suricata/files/suricata.yaml +++ b/salt/suricata/files/suricata.yaml @@ -2,9 +2,9 @@ --- {%- set interface = salt['pillar.get']('sensor:interface', '') %} {%- if salt['pillar.get']('sensor:homenet') %} - {%- set homenet = salt['pillar.get']('sensor:homenet', '') %} + {%- set homenet = salt['pillar.get']('sensor:hnsensor', '') %} {%- else %} - {%- set homenet = salt['pillar.get']('static:homenet', '') %} + {%- set homenet = salt['pillar.get']('static:hnmaster', '') %} {%- endif %} # Suricata configuration file. In addition to the comments describing all # options in this file, full documentation can be found at: