Also log puppet output to console
authorJames Slagle <jslagle@redhat.com>
Thu, 27 Jul 2017 17:59:04 +0000 (13:59 -0400)
committerJames Slagle <jslagle@redhat.com>
Thu, 27 Jul 2017 17:59:04 +0000 (13:59 -0400)
commit8a8369d8688dab6eb719a640863397bfcb7d9316
treece36dcc1f3a5b694301fd23dee1f27bb142c310c
parent017f8b9b478e6e8a72cfb88cba54ce90b77e6532
Also log puppet output to console

Running puppet apply with --logdest syslog results in all the output
being redirected to syslog. You get no error messages. In the case where
this ansible task fails, the subsequent debug task shows nothing useful
as there was no stdout/stderr.

Also pass --logdest console to puppet apply so that we get the output
for the debug task. My local testing showed that when specifying logdest
twice, both values were honored, and the output went to syslog and the
console.

Change-Id: Id5212b3ed27b6299e33e81ecf71ead554f9bdd29
Closes-Bug: #1707030
docker/deploy-steps-playbook.yaml