mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix if statement
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{% set ENABLED = salt['pillar.get']('steno:enabled', 'True') %}
|
||||
|
||||
# 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 %}
|
||||
{% else %}
|
||||
{% set PCAPOPTIONS['start'] = True %}
|
||||
|
||||
Reference in New Issue
Block a user