From 6c87d1a26e38988944297478679a139fa06e8e25 Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Thu, 29 Oct 2020 22:17:46 -0400 Subject: [PATCH] Update r10k command line options --- commit_hooks/r10k_syntax_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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