mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
handle strelka
This commit is contained in:
@@ -5,6 +5,9 @@
|
|||||||
# to the list predefined by the role / minion id affix
|
# to the list predefined by the role / minion id affix
|
||||||
{% macro append_containers(pillar_name, k, compare )%}
|
{% macro append_containers(pillar_name, k, compare )%}
|
||||||
{% if salt['pillar.get'](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 %}
|
{% from 'common/maps/'~k~'.map.jinja' import docker as d with context %}
|
||||||
{% for li in d['containers'] %}
|
{% for li in d['containers'] %}
|
||||||
{{ docker['containers'].append(li) }}
|
{{ docker['containers'].append(li) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user