2016-09-30 22:00:11 +02:00
|
|
|
#
|
|
|
|
# This file is managed by Salt! Do not edit by hand!
|
|
|
|
#
|
2017-05-23 00:20:36 +02:00
|
|
|
{# The parameter reactor is kept for backward compatibility -#}
|
2017-05-23 00:34:31 +02:00
|
|
|
{%- set reactors = salt['pillar.get']('salt:reactor', []) -%}
|
2017-05-23 00:20:36 +02:00
|
|
|
{%- set reactors = salt['pillar.get']('salt:reactors', default=reactors, merge=True) -%}
|
|
|
|
{%- set reactors = salt['pillar.get']('salt:minion:reactors', default=reactors, merge=True) -%}
|
|
|
|
|
2016-09-30 22:00:11 +02:00
|
|
|
{%- 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 -%}
|