Skip to content

Instantly share code, notes, and snippets.

@barn
Created August 23, 2012 02:26
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 barn/3431489 to your computer and use it in GitHub Desktop.
Save barn/3431489 to your computer and use it in GitHub Desktop.
My pre commit hook now spots some of my common mistakes.
[enlil:puppetlabs-modules]% git commit site.pp
Some dumbass tried to use 'requires' in site.pp
site.pp:8: requires => Exec['apt_update']
[enlil:puppetlabs-modules]% echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment