Skip to content

Instantly share code, notes, and snippets.

@jslatts
Last active December 27, 2015 12:19
Show Gist options
  • 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