Merge "Run a primer puppet run before parallel puppet"
This commit is contained in:
commit
7ff2ee97ac
@ -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 | \
|
||||
|
Loading…
x
Reference in New Issue
Block a user