diff --git a/salt/pcap/map.jinja b/salt/pcap/map.jinja index ad23f763b..ee939a0b4 100644 --- a/salt/pcap/map.jinja +++ b/salt/pcap/map.jinja @@ -4,12 +4,8 @@ # don't start the docker container if it is an import node or disabled via pillar {% if grains.id.split('_')|last == 'import' or ENABLED is sameas false %} {% do STENOOPTIONS.update({'start': False}) %} -{% else %} - {% do STENOOPTIONS.update({'start': True}) %} -{% endif %} - -{% if ENABLED is sameas false %} {% do STENOOPTIONS.update({'status': 'absent'}) %} {% else %} + {% do STENOOPTIONS.update({'start': True}) %} {% do STENOOPTIONS.update({'status': 'running'}) %} {% endif %}