Skip to content

Instantly share code, notes, and snippets.

@jslatts
Last active December 27, 2015 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jslatts/7324951 to your computer and use it in GitHub Desktop.
Save jslatts/7324951 to your computer and use it in GitHub Desktop.
Desired feature for gitfs + saltstack
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