diff --git a/tools/apply-test.sh b/tools/apply-test.sh index 35473b9e88..c48bebd8d8 100755 --- a/tools/apply-test.sh +++ b/tools/apply-test.sh @@ -70,9 +70,10 @@ echo "127.0.1.1 $HOST.openstack.org $HOST" >> /tmp/hosts sudo mv /tmp/hosts /etc/hosts sudo mkdir -p /var/run/puppet +sudo cp /etc/hiera.yaml /etc/puppet/hiera.yaml sudo -E bash -x ./install_modules.sh echo "Running apply test on these hosts:" find applytest -name 'puppetapplytest*.final' -print0 find applytest -name 'puppetapplytest*.final' -print0 | \ xargs -0 -P $(nproc) -n 1 -I filearg \ - sudo puppet apply --modulepath=${MODULE_PATH} --noop --verbose --debug filearg > /dev/null + sudo puppet apply --modulepath=${MODULE_PATH} --color=false --noop --verbose --debug filearg > /dev/null