diff --git a/commit_hooks/r10k_syntax_check.sh b/commit_hooks/r10k_syntax_check.sh index b820eb9..c1a827d 100755 --- a/commit_hooks/r10k_syntax_check.sh +++ b/commit_hooks/r10k_syntax_check.sh @@ -3,7 +3,7 @@ # This script assumes you have installed r10k and will perform a syntax check on the Puppetfile if existing echo "Performing a syntax check on the r10k Puppetfile:" -PUPPETFILE="$1" r10k puppetfile check +r10k puppetfile check --puppetfile "$1" if [[ $? -ne 0 ]] then