Split reactor files

There now are reactor files to run highstate on:

* New nodes only
* Master nodes
* Minion nodes
This commit is contained in:
Pieter Noordhuis
2014-10-12 14:24:01 -07:00
parent d51c071982
commit 1152471db7
8 changed files with 30 additions and 17 deletions

View File

@@ -42,7 +42,9 @@ cat <<EOF >/etc/salt/master.d/reactor.conf
# React to new minions starting by running highstate on them.
reactor:
- 'salt/minion/*/start':
- /srv/reactor/highstate-all.sls
- /srv/reactor/highstate-new.sls
- /srv/reactor/highstate-masters.sls
- /srv/reactor/highstate-minions.sls
EOF
mkdir -p /srv/salt/nginx