Skip to content

Instantly share code, notes, and snippets.

@keeth
Created February 11, 2015 01:55
Show Gist options
  • Save keeth/9ebb3f697a0c68a472f8 to your computer and use it in GitHub Desktop.
Save keeth/9ebb3f697a0c68a472f8 to your computer and use it in GitHub Desktop.
base:
'*':
- ssh
- salt
- java
'G@roles:cms':
- match: compound
- cms
# START salt-master bootstrap items
# These are required to bootstrap a local salt-master in Vagrant.
# Items here should mirror sprightco/secrets/pillar/top.sls,
# but only need to include any items that target roles:salt-master
# See: https://groups.google.com/forum/#!topic/salt-users/oVLNmOULTVo
'G@roles:salt-master and G@env:prod and G@user:vagrant':
- match: compound
- prod.aws
- prod.salt
# END salt-master bootstrap items
base:
'G@env:prod':
- match: compound
- prod.aws
'G@roles:salt-master and G@env:prod':
- match: compound
- prod.salt
'G@roles:cms and G@env:prod':
- match: compound
- prod.cms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment