2014-10-24 21:48:56 +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 -#}
|
2014-10-24 21:48:56 +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:master:reactors', default=reactors, merge=True) -%}
|
|
|
|
|
2014-10-24 21:48:56 +02:00
|
|
|
{%- if reactors %}
|
|
|
|
reactor:
|
2014-10-25 00:04:12 +02:00
|
|
|
{%- for reactor in reactors %}
|
|
|
|
{%- for event_tag, reactor_files in reactor.items() %}
|
2014-10-28 16:55:18 +01:00
|
|
|
- '{{ event_tag }}':
|
2014-10-25 00:04:12 +02:00
|
|
|
{%- for reactor_file in reactor_files %}
|
2014-10-24 21:48:56 +02:00
|
|
|
- {{ reactor_file }}
|
2014-10-25 00:04:12 +02:00
|
|
|
{%- endfor %}
|
|
|
|
{%- endfor %}
|
|
|
|
{% endfor -%}
|
2014-10-24 21:48:56 +02:00
|
|
|
{%- endif -%}
|