From 09e1d27cb215e73b1e80684b9e4b13e5ab93a29b Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 24 Jun 2012 13:10:44 +0100 Subject: [PATCH] update hook for storeconfigs Signed-off-by: Stephen Gran --- tools/git-hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/git-hooks/pre-commit b/tools/git-hooks/pre-commit index 590554c0b..243f06292 100755 --- a/tools/git-hooks/pre-commit +++ b/tools/git-hooks/pre-commit @@ -21,7 +21,7 @@ check_puppet_manifest () { git cat-file blob :0:${file} | sed 's/^import .*/#&/' >${pp} trap "rm -f ${pp}" RETURN - local output=$(puppet parser validate ${pp} 2>&1) + local output=$(puppet parser validate --storeconfigs true ${pp} 2>&1) if [ $? -ne 0 ] || [ -n "${output}" ]; then echo '** Syntax check failed:' >&2 echo "${output}" >&2 -- 2.20.1