Created
April 1, 2015 01:16
-
-
Save iggy/80bd809c1557d8aa8d9e to your computer and use it in GitHub Desktop.
sync all on minion start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/salt/master.d/60reactor.conf | |
| # reactor config for salt master | |
| reactor: | |
| - 'salt/minion/*/start': | |
| - salt://salt/reactor/sync_all.sls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /srv/salt/salt/reactor/sync_all.sls | |
| # called by reactor config on master to sync_all on minion startup | |
| sync_all: | |
| local.saltutil.sync_all: | |
| - tgt: '*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment