Last active
August 29, 2015 14:08
-
-
Save libertyy/0508bdee4c995e80dbbd to your computer and use it in GitHub Desktop.
Manage credentials through pillar_roots
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
master_config | |
------ | |
file_roots: | |
base: | |
- /srv/salt | |
pillar_roots: | |
base: | |
- /srv/pillar | |
local_dev: | |
- /srv/local_dev/pillar/ | |
salt/top.sls: | |
---------- | |
base: | |
'*': | |
- app1 | |
- app2 | |
/srv/pillar/top.sls: | |
---------- | |
base: | |
'*': | |
local_dev: | |
'*local_dev*': | |
- app.creds | |
/srv/local_dev/pillar/app/creds.sls | |
foo: | |
username: jane | |
userpassword: jane | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment