From 13a6ecf8b9c65f0865f604e86c8087e315224b7b Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Fri, 30 Sep 2016 22:00:11 +0200 Subject: [PATCH] add missing files --- salt/files/minion.d/engine.conf | 8 ++++++++ salt/files/minion.d/reactor.conf | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 salt/files/minion.d/engine.conf create mode 100644 salt/files/minion.d/reactor.conf 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 -%}