This is needed since the hiera configuration is in the ansible
role.
Have puppet append its output directly to our per-test output file.
Rename that file with a FAILED suffix for easy identification when
looking at the results in the published log directory.
Change-Id: Ie2a028b9e0179168d279bcf33de7f997cdfdbc8d
Depends-On: I0db01d128258f78e9b196354799a80774f6c6808
The script that is run by find on each apply test file has -e set,
yet, it attempts to save the exit code from puppet apply and keep
running even in error. Remove -e so that it does not immediately
exit and can continue as designed.
Change-Id: I1a24e80f42be8d028ecc3eb02df54b49f811fff4
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 makes it easier to tell which node definition is being evaluated
Because xargs -P doesn't do bash functions, some of the apply_test has
been moved into test_puppet_apply.sh. All the test snippets and test
output is being recorded in files in tools/opt, then catted for the
user.
Change-Id: I4fb77f93f9e9a7216b62634438a11d8d297bdefe