tripleo-heat-templates/common
Jiri Stransky 242efd05cd Fix disappearing Puppet logs
It seems that recently Puppet logs started disappearing. Passing
`--logdest` to `puppet apply` multiple times was probably working
before as described in change
Id5212b3ed27b6299e33e81ecf71ead554f9bdd29, but it seems to work no
longer. In my testing, the output went only into syslog, and if Puppet
failed, we had no Puppet output in the Ansible logs.

The fix is to only log to console (as is the default) and use `logger
-s` to effectively `tee` the output into syslog too. The logger
command also has `-t puppet-user` because that's how Puppet tags its
output when running with `--logdest syslog`.

Change-Id: I46194897640198b6d817faf00be1d565a680ec02
Closes-Bug: #1831887
(cherry picked from commit fda0f4284b)
2019-06-09 16:29:06 +00:00
..
services Make krb-service-principal metadata per-Role 2019-04-05 14:22:20 +00:00
container-puppet.py Fix disappearing Puppet logs 2019-06-09 16:29:06 +00:00
deploy-steps-tasks.yaml Fix disappearing Puppet logs 2019-06-09 16:29:06 +00:00
deploy-steps.j2 Merge "Enable serial execution for ansible host" into stable/stein 2019-05-31 05:08:27 +00:00
post.j2.yaml Consolidate puppet/docker deployments with one deploy steps workflow 2017-08-11 17:25:02 +00:00