diff --git a/salt/files/minion.d/engine.conf b/salt/files/minion.d/engine.conf new file mode 100644 index 0000000..d2ecec6 --- /dev/null +++ b/salt/files/minion.d/engine.conf @@ -0,0 +1,8 @@ +# +# This file is managed by Salt! Do not edit by hand! +# +{%- set engines = salt['pillar.get']('salt:engines') -%} +{%- if engines %} +engines: + {{ engines | yaml(False) | indent(2) }} +{%- endif -%} diff --git a/salt/files/minion.d/reactor.conf b/salt/files/minion.d/reactor.conf new file mode 100644 index 0000000..dd7fbb5 --- /dev/null +++ b/salt/files/minion.d/reactor.conf @@ -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 -%}