From aa59eff1ac1d128834dbe2723d9138853a3db9e0 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 22 Oct 2020 10:59:03 -0400 Subject: [PATCH] fix if statement --- salt/pcap/map.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/pcap/map.jinja b/salt/pcap/map.jinja index e37dfb126..8f8608ce5 100644 --- a/salt/pcap/map.jinja +++ b/salt/pcap/map.jinja @@ -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 %}