diff --git a/tools/apply-test.sh b/tools/apply-test.sh index 2de7ad05ea..dc2cce26fd 100755 --- a/tools/apply-test.sh +++ b/tools/apply-test.sh @@ -79,6 +79,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