Allow to specify different reactors for minions and masters

This commit is contained in:
Javier Bértoli
2017-05-22 19:20:36 -03:00
parent eaf9fc98f6
commit 442806ab9e
3 changed files with 27 additions and 3 deletions
+19 -3
View File
@@ -95,6 +95,13 @@ salt:
type: runner
cmd: jobs.list_jobs
# optional: these reactors will be configured on the master
# They override reactors configured in
# 'salt:reactors' or the old 'salt:reactor' parameters
reactors:
- 'master/deploy':
- /srv/salt/reactors/deploy.sls
# salt minion config:
minion:
@@ -171,6 +178,12 @@ salt:
- 1.0
interval: 10
# Optional reactors: these reactors will be configured on the minion
# They override reactors configured in
# 'salt:reactors' or the old 'salt:reactor' parameters
reactors:
- 'master/deploy':
- /srv/salt/reactors/deploy.sls
# salt cloud config
cloud:
@@ -229,9 +242,7 @@ salt:
- IAD
- SYD
- HKG
reactor:
- 'deploy':
- /srv/salt/reactors/deploy.sls
ssh_roster:
prod1:
host: host.example.com
@@ -249,6 +260,11 @@ salt:
pub: |
...........
# These reactors will be configured both to the minion and the master
reactors:
- 'deploy':
- /srv/salt/reactors/deploy.sls
salt_cloud_certs:
aws:
pem: |