mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-24 12:13:38 +02:00
add templated file for reactor configuration and update pillar.example.
This commit is contained in:
1 parent
3e4d9d012b
commit
2852e7b897
2 files changed
+18
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# This file is managed by Salt! Do not edit by hand!
|
||||
#
|
||||
{%- set reactors = salt['pillar.get']('salt:reactor') -%}
|
||||
{%- 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 -%}
|
||||
Reference in new issue
Block a user