0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-05 02:57:55 +01:00
salt-formula/salt/files/master.d/reactor.conf

18 lines
558 B
Plaintext
Raw Normal View History

#
# This file is managed by Salt! Do not edit by hand!
#
{# The parameter reactor is kept for backward compatibility -#}
2017-06-09 13:34:55 +02:00
{%- set reactors = salt['pillar.get']('salt:reactor', []) + salt['pillar.get']('salt:reactors', []) + salt['pillar.get']('salt:master:reactors', []) -%}
{%- if reactors %}
reactor:
{%- for reactor in reactors %}
{%- for event_tag, reactor_files in reactor.items() %}
- '{{ event_tag }}':
{%- for reactor_file in reactor_files %}
- {{ reactor_file }}
{%- endfor %}
{%- endfor %}
{% endfor -%}
{%- endif -%}