2
0

Merge pull request #56 from juiceinc/master

add templated file for reactor configuration and update pillar.example.
This commit is contained in:
Nitin Madhok 2014-10-24 17:45:07 -07:00
commit 69b2ee3812
2 changed files with 18 additions and 0 deletions

View File

@ -42,6 +42,9 @@ salt:
- IAD
- SYD
- HKG
reactor:
- 'deploy':
- /srv/salt/reactors/deploy.sls
salt_cloud_certs:
aws:

View File

@ -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 -%}