Suricata Module - Add proper homent and interface support

This commit is contained in:
Mike Reeves
2018-09-26 13:06:37 -04:00
parent 014439f986
commit 3f378f0787

View File

@@ -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: