Created
May 9, 2016 09:51
-
-
Save silenius/9de8414b59b6dde0aff750e1c7bea7e3 to your computer and use it in GitHub Desktop.
This file contains 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
jcigar@dev:/usr/local/etc/salt/master.d/ > cat reactor.conf | |
reactor: | |
- jail/created: | |
- /usr/local/etc/salt/reactor/add_jail_key.sls | |
- jail/removed: | |
- /usr/local/etc/salt/reactor/remove_jail_key.sls | |
jcigar@dev:/usr/local/etc/salt/master.d/ > cat /usr/local/etc/salt/reactor/add_jail_key.sls | |
accept_new_minion: | |
wheel.key.accept: | |
- match: {{ data['id'] }} | |
jcigar@dev:/usr/local/etc/salt/master.d/ > cat /usr/local/etc/salt/reactor/remove_jail_key.sls | |
delete_old_minion: | |
wheel.key.delete: | |
- match: {{ data['id'] }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment