From: Silvio Rhatto Date: Sun, 6 Apr 2014 00:01:43 +0000 (-0300) Subject: Comment on puppet syntax and tests X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=abee6e5b72d98b2b099065a2406d7d3437c087fe;p=rhatto%2Fdotfiles%2Fgit.git Comment on puppet syntax and tests --- diff --git a/git_hooks.dot.link/pre-commit/puppet b/git_hooks.dot.link/pre-commit/puppet index 986ca4a..a8f37fb 100755 --- a/git_hooks.dot.link/pre-commit/puppet +++ b/git_hooks.dot.link/pre-commit/puppet @@ -3,6 +3,8 @@ # # Alternatives: https://gist.github.com/jumanjiman/3275053 # http://www.snijders-it.nl/2011/12/example-puppet-27-git-pre-commit-script.html +# +# See also http://puppetlabs.com/blog/verifying-puppet-checking-syntax-and-writing-automated-tests/ syntax_errors=0 error_msg=$(mktemp /tmp/error_msg.XXXXXX)