mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix if statement
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{% set ENABLED = salt['pillar.get']('steno:enabled', 'True') %}
|
{% set ENABLED = salt['pillar.get']('steno:enabled', 'True') %}
|
||||||
|
|
||||||
# don't start the docker container if it is an import node or disabled via pillar
|
# don't start the docker container if it is an import node or disabled via pillar
|
||||||
{% if grains.id.split('_')|last == 'import' || ENABLED is sameas false %}
|
{% if grains.id.split('_')|last == 'import' or ENABLED is sameas false %}
|
||||||
{% set PCAPOPTIONS['start'] = False %}
|
{% set PCAPOPTIONS['start'] = False %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set PCAPOPTIONS['start'] = True %}
|
{% set PCAPOPTIONS['start'] = True %}
|
||||||
|
|||||||
Reference in New Issue
Block a user