Last active
December 27, 2015 12:19
-
-
Save jslatts/7324951 to your computer and use it in GitHub Desktop.
Desired feature for gitfs + saltstack
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
Currently we can do this for file system mapping: | |
file_roots: | |
base: | |
- /srv/salt/base | |
dev: | |
- /srv/salt/dev | |
qa: | |
- /srv/salt/qa | |
prod: | |
- /srv/salt/prod | |
pillar_roots: | |
base: | |
- /srv/pillar/base | |
dev: | |
- /srv/pillar/dev | |
qa: | |
- /srv/pillar/qa | |
prod: | |
- /srv/pillar/prod | |
But when you use gitfs you lose that. Ideally we could do this: | |
file_roots: | |
base: | |
- git://github.com/jslatts/salt/base | |
dev: | |
- git://github.com/jslatts/salt/dev | |
qa: | |
- git://github.com/jslatts/salt/qa | |
prod: | |
- git://github.com/jslatts/salt/prod | |
pillar_roots: | |
base: | |
- git://github.com/jslatts/pillar/base | |
dev: | |
- git://github.com/jslatts/pillar/dev | |
qa: | |
- git://github.com/jslatts/pillar/qa | |
prod: | |
- git://github.com/jslatts/pillar/prod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment