mattiasgeniar/puppet-pre-commit-hook — pull request #5 by rnelson0 (2014-12-29 17:54:40+00:00)
Title: Only test the catalog if one exists.

If manifests/site.pp does not exist, the pre-commit hook would always fail. This is always the case when developing puppet modules, so there should be no error if there is no catalog to compile.