From 05d736d2dfafe831c107f32b4909393316b3408e Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 9 Sep 2020 14:00:58 -0400 Subject: [PATCH] handle strelka --- salt/common/maps/so-status.map.jinja | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/salt/common/maps/so-status.map.jinja b/salt/common/maps/so-status.map.jinja index 560ea2546..2aea71c76 100644 --- a/salt/common/maps/so-status.map.jinja +++ b/salt/common/maps/so-status.map.jinja @@ -5,9 +5,6 @@ # to the list predefined by the role / minion id affix {% macro append_containers(pillar_name, k, compare )%} {% if salt['pillar.get'](pillar_name~':'~k, {}) != compare %} - {% if ':enabled' in k %} - {% set k = k.split(':') | first %} - {% endif %} {% from 'common/maps/'~k~'.map.jinja' import docker as d with context %} {% for li in d['containers'] %} {{ docker['containers'].append(li) }} @@ -32,7 +29,7 @@ {% endif %} {% if role in ['eval', 'heavynode', 'sensor', 'standalone'] %} - {{ append_containers('global', 'strelka:enabled', 0) }} + {{ append_containers('strelka', 'enabled', 0) }} {% endif %} {% if role in ['heavynode', 'standalone'] %}