Skip to content

Instantly share code, notes, and snippets.

@thatch45
Created February 21, 2012 22:40
Show Gist options
  • Save thatch45/1879536 to your computer and use it in GitHub Desktop.
Save thatch45/1879536 to your computer and use it in GitHub Desktop.
require id and name
git:
pkg:
- installed
- name: git core
/etc/git/gitconfig:
file:
- managed
- source: salt://git/gitconfig
- require:
- pkg: git
# this would also work:
/etc/git/somefile:
file:
- managed
- source: salt://git/somefile
- require:
- pkg: git-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment