diff --git a/pre-receive b/pre-receive index a612e58..05fc24e 100755 --- a/pre-receive +++ b/pre-receive @@ -68,7 +68,7 @@ while read oldrev newrev refname; do echo -e "\e[0;31m'puppet parser validate' failed on $puppetmodule - push denied. Run tests locally and confirm they pass before pushing. \e[0m" final_ret=1 fi - puppet-lint $tmpfile + puppet-lint --fail-on-warnings --with-filename $tmpfile rc=$? if [[ $rc != 0 ]]; then if [[ $warned = 0 ]]; then