From ca76e0c8dd38a2e33bbc064ec2094cb20a67df81 Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Mon, 17 Nov 2014 07:49:52 +0000 Subject: [PATCH] Making the apply test easier to read --color=false remove ansi escapes cping /etc/hiera.yaml /etc/puppet/hiera.yaml shuts up puppet complaining that it doesn't have hiera.yaml to read Change-Id: Iea7222c66f2fcc1338bc7baffb572d1a1ab2ecd6 --- tools/apply-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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