Skip to content

Instantly share code, notes, and snippets.

@dkiser

dkiser/1 Secret

Created March 23, 2017 20:02
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 dkiser/19a612f3e12d3d0e435bd3ba09694ba7 to your computer and use it in GitHub Desktop.
Save dkiser/19a612f3e12d3d0e435bd3ba09694ba7 to your computer and use it in GitHub Desktop.
salt git pillar examples
# External Pillars
git_pillar_provider: pygit2
git_pillar_global_lock: False
git_pillar_privkey: /etc/salt/sshkeys/id_rsa
git_pillar_pubkey: /etc/salt/sshkeys/id_rsa.pub
ext_pillar:
# map to git branches
- git:
# map environment names to git branches
- __env__ git@SCRUBBED/salt-tree.git:
# grab pillars from the 'pillars' folder
- root: pillars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment