diff --git a/tools/apply-test.sh b/tools/apply-test.sh index 399146901d..5f541b6107 100755 --- a/tools/apply-test.sh +++ b/tools/apply-test.sh @@ -20,7 +20,7 @@ if [[ ! -d applytest ]] ; then mkdir ~/applytest fi -trap "mv ~/applytest applytest" EXIT +trap "sudo mv ~/applytest applytest" EXIT # Split the class defs. csplit -sf ~/applytest/puppetapplytest $PUPPET_MANIFEST '/^}$/' {*}