show steno,zeek,suricata as disabled in so-status on import node

This commit is contained in:
m0duspwnens
2020-12-16 12:01:48 -05:00
parent 142649b396
commit 96b72d46be
4 changed files with 22 additions and 1 deletions

View File

@@ -200,6 +200,14 @@ append_so-zeek_so-status.conf:
file.append:
- name: /opt/so/conf/so-status/so-status.conf
- text: so-zeek
- unless: grep -q so-zeek /opt/so/conf/so-status/so-status.conf
{% if grains.role == 'so-import' %}
disable_so-zeek_so-status.conf:
file.comment:
- name: /opt/so/conf/so-status/so-status.conf
- regex: ^so-zeek$
{% endif %}
{% else %}