mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-12 19:21:23 +01:00
20 lines
401 B
Plaintext
20 lines
401 B
Plaintext
{% from 'allowed_states.map.jinja' import allowed_states %}
|
|
{% if sls.split('.')[0] in allowed_states %}
|
|
|
|
so-steno:
|
|
docker_container.absent:
|
|
- force: True
|
|
|
|
so-steno_so-status.disabled:
|
|
file.comment:
|
|
- name: /opt/so/conf/so-status/so-status.conf
|
|
- regex: ^so-steno$
|
|
|
|
{% else %}
|
|
|
|
{{sls}}_state_not_allowed:
|
|
test.fail_without_changes:
|
|
- name: {{sls}}_state_not_allowed
|
|
|
|
{% endif %}
|