Merge "Run a primer puppet run before parallel puppet"

This commit is contained in:
Jenkins 2016-10-07 19:55:56 +00:00 committed by Gerrit Code Review
commit 7ff2ee97ac

View File

@ -59,8 +59,16 @@ if [[ $FOUND == "0" ]]; then
exit 1
fi
cat > applytest/primer.pp << EOF
class helloworld {
notify { 'hello, world!': }
}
EOF
sudo mkdir -p /var/run/puppet
sudo -E bash -x ./install_modules.sh
echo "Running apply test primer to avoid setup races when run in parallel."
./tools/test_puppet_apply.sh applytest/primer.pp
echo "Running apply test on these hosts:"
find applytest -name 'puppetapplytest*.final' -print0
find applytest -name 'puppetapplytest*.final' -print0 | \