mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-20 07:01:31 +01:00
17 lines
413 B
Plaintext
17 lines
413 B
Plaintext
{% from 'allowed_states.map.jinja' import allowed_states %}
|
|
{% if sls.split('.')[0] in allowed_states %}
|
|
|
|
append_so-steno_so-status.conf:
|
|
file.append:
|
|
- name: /opt/so/conf/so-status/so-status.conf
|
|
- text: so-steno
|
|
- unless: grep -q so-steno /opt/so/conf/so-status/so-status.conf
|
|
|
|
{% else %}
|
|
|
|
{{sls}}_state_not_allowed:
|
|
test.fail_without_changes:
|
|
- name: {{sls}}_state_not_allowed
|
|
|
|
{% endif %}
|