Last active
August 29, 2015 14:10
-
-
Save gladiatr72/0b2ed85712f7714f968d to your computer and use it in GitHub Desktop.
reactor
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
{% set minion_id = data['id'] -%} | |
update_minion: | |
local.state.orch: | |
- tgt: {{minion_id}} | |
- sls: | |
- minion_update | |
install_baseline: | |
local.state.orch: | |
- tgt: {{minion_id}} | |
- state: | |
sls: | |
- baseline | |
- require: | |
- salt: update_minion | |
configure_new_system: | |
local.state.orch: | |
- tgt: {{minion_id}} | |
- highstate: True | |
- require: | |
- salt: install_baseline |
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
# vim: ft=sls | |
reactor: | |
- 'salt/key': | |
- /srv/modules/reactor/bootstrap.sls | |
- 'salt/minion/*/start': | |
- /srv/modules/reactor/bootstrap.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
2014-11-27 19:27:01,463 [salt.utils.event ][DEBUG ] Gathering reactors for tag salt/minion/return-db-01.saltlab/start | |
2014-11-27 19:27:01,464 [salt.utils.event ][DEBUG ] Compiling reactions for tag salt/minion/return-db-01.saltlab/start | |
2014-11-27 19:27:01,473 [salt.utils.jinja ][DEBUG ] Jinja search path: ['/srv/salt/base'] | |
2014-11-27 19:27:01,487 [salt.template ][DEBUG ] Rendered data from file: /srv/modules/reactor/bootstrap.sls: | |
update_minion: | |
local.state.orch: | |
- tgt: return-db-01.saltlab | |
- sls: | |
- minion_update | |
install_baseline: | |
local.state.orch: | |
- tgt: return-db-01.saltlab | |
- state: | |
sls: | |
- baseline | |
- require: | |
- salt: update_minion | |
configure_new_system: | |
local.state.orch: | |
- tgt: return-db-01.saltlab | |
- highstate: True | |
- require: | |
- salt: install_baseline | |
2014-11-27 19:27:03,270 [salt.utils.process ][DEBUG ] Started '<class 'salt.utils.event.Reactor'>'(*({'reactor': [{'key': ['/srv/modules/reactor/bootstrap.sls']}, {'salt/key': ['/srv/m | |
odules/reactor/bootstrap.sls']}, {'salt/minion/*/start': ['/srv/modules/reactor/bootstrap.sls']}], 'search_index_interval': 3600, 'token_expire': 43200, 'master_sign_pubkey': False, 'gpg_keydir': '/root/.gnupg' | |
, 'ioflo_verbose': 0, 'show_jid': False, 'svnfs_remotes': [], 'syndic_master': '', 'minion_data_cache': True, [blah blah blah], 'log_file': '/var/log/salt/master', 'interface': '0.0.0.0', 'ssh_timeout': 60},), **{} with pid 4347 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment