-
-
Save anonymous/8c23fcdec08b6e9918db 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
###IN MASTER CONF### | |
reactor: | |
- 'minion_start': | |
- /srv/salt/reactor/reacttop.sls | |
###/srv/salt/top.sls -- this works fine when executed directly via state.highstate### | |
base: | |
'os:Windows': | |
- match: grain | |
- windows.common | |
'os:CentOS': | |
- match: grain | |
- centos.common | |
'os:Ubuntu': | |
- match: grain | |
- ubuntu.common | |
'nginx_role:frontend': | |
- match: grain | |
- nginx.common | |
- nginx.frontend | |
'nginx_role:public': | |
- match: grain | |
- nginx.common | |
- nginx.public | |
'nginx_role:backend': | |
- match: grain | |
- nginx.common | |
- nginx.backend | |
'edg_serverRole:mongo': | |
- match: grain | |
- mongo.common | |
'*-udp-*': | |
- realms.udp | |
'*-wdp-*': | |
- realms.wdp | |
'*-rdp-*': | |
- realms.rdp | |
'*-poc-*': | |
- realms.poc | |
'*-wci-*': | |
- realms.wci | |
'*-red??': | |
- redis.common | |
'*poc-red??': | |
- redis.poc.common | |
###/srv/salt/reactor/reacttop.sls### | |
highstate_run: | |
local.state.highstate: | |
- tgt: {{ data['id'] }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment