Browse Source

Merge pull request #56 from juiceinc/master

add templated file for reactor configuration and update pillar.example.
master
Nitin Madhok 10 years ago
parent
commit
69b2ee3812
2 changed files with 18 additions and 0 deletions
  1. +3
    -0
      pillar.example
  2. +15
    -0
      salt/files/master.d/reactor.conf

+ 3
- 0
pillar.example View File

- IAD - IAD
- SYD - SYD
- HKG - HKG
reactor:
- 'deploy':
- /srv/salt/reactors/deploy.sls


salt_cloud_certs: salt_cloud_certs:
aws: aws:

+ 15
- 0
salt/files/master.d/reactor.conf View File

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

Loading…
Cancel
Save