Display puppet apply results right after running

Otherwise, there is a case where the results are not rendered properly
because the shell exits.

Change-Id: Ica05615cad4fcc15c9d941d16f74cb4f68bc5a99
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-07-08 15:34:09 -04:00
parent 177c538b98
commit be7adfa7f2
2 changed files with 1 additions and 2 deletions

View File

@ -105,5 +105,3 @@ find applytest -name 'puppetapplytest*.final' -print0
find applytest -name 'puppetapplytest*.final' -print0 | \
xargs -0 -P $(nproc) -n 1 -I filearg \
./tools/test_puppet_apply.sh filearg
cat applytest/*.out

View File

@ -20,4 +20,5 @@ echo "##" > $fileout
cat $file > $fileout
sudo puppet apply --modulepath=${MODULE_PATH} --color=false --noop --verbose --debug $file >/dev/null 2>> $fileout
ret=$?
cat $fileout
exit $ret