mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-30 21:45:25 +01:00
18 lines
558 B
Plaintext
18 lines
558 B
Plaintext
#
|
|
# This file is managed by Salt! Do not edit by hand!
|
|
#
|
|
{# The parameter reactor is kept for backward compatibility -#}
|
|
{%- set reactors = salt['pillar.get']('salt:reactor', []) + salt['pillar.get']('salt:reactors', []) + salt['pillar.get']('salt:minion: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 -%}
|