Improve logs from ansible, puppet, docker-puppet.py
authorBogdan Dobrelya <bdobreli@redhat.com>
Fri, 9 Jun 2017 16:03:50 +0000 (18:03 +0200)
committerBogdan Dobrelya <bdobreli@redhat.com>
Fri, 14 Jul 2017 08:55:27 +0000 (10:55 +0200)
commitc011a34f5e84ffadb55e0a0583897ab59c5bd4da
tree4b8d71c76006e6e33f958779b9fe3cb3818eb306
parent322f2dbd4c1d9c8617186bcb9211d7a1fe10ba3f
Improve logs from ansible, puppet, docker-puppet.py

* Debug ansible 'puppet apply' stderr joined stdout, split
  by lines.
* Do 'puppet apply' w/o colors, logdest syslog, and given a wanted
  modulepath instead of the module puppet, that can't support those
  options.
* Bind-mount syslog socket for docker-puppet.py to pass puppet logs
  to host OS syslog.
* Fix logging handlers for multiprocess workers in docker-puppet.py.

Related-bug: #1698172
Closes-bug: #1700086

Change-Id: I84112a836e968aa5c3596a6544e0392980529963
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
docker/deploy-steps-playbook.yaml
docker/docker-puppet.py