Explorar el Código

Merge pull request #56 from juiceinc/master

add templated file for reactor configuration and update pillar.example.
tags/v0.57.0
Nitin Madhok hace 10 años
padre
commit
69b2ee3812
Se han modificado 2 ficheros con 18 adiciones y 0 borrados
  1. +3
    -0
      pillar.example
  2. +15
    -0
      salt/files/master.d/reactor.conf

+ 3
- 0
pillar.example Ver fichero

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

salt_cloud_certs:
aws:

+ 15
- 0
salt/files/master.d/reactor.conf Ver fichero

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

Cargando…
Cancelar
Guardar