diff --git a/tools/apply-test.sh b/tools/apply-test.sh index a946dad82c..9ee1c5bc3b 100755 --- a/tools/apply-test.sh +++ b/tools/apply-test.sh @@ -76,6 +76,7 @@ sed -i -e '/^\}$/d' applytest/puppetapplytest* # This gives us the node {} internal contents. sed -i -e 's/^[^][:space:]$]/#&/g' applytest/prep00 applytest/puppetapplytest* sed -i -e 's@hiera(.\([^.]*\).,\([^)]*\))@\2@' applytest/prep00 applytest/puppetapplytest* +sed -i -e "s@hiera(.\([^.]*\).)@'\1NoDefault'@" applytest/prep00 applytest/puppetapplytest* mv applytest/prep00 applytest/head # These are the top-level variables defined in site.pp if [[ `lsb_release -i -s` == 'CentOS' ]]; then