Send error output to puppet log

Sets the daemonize command option to /var/log/puppet-error.log

Change-Id: I0e253471619fd945a13458a7a8a8f48daa06ee82
Closes-Bug: #1459330
This commit is contained in:
twm2016 2016-03-08 13:46:16 -06:00
parent a63814538e
commit b781cd5417
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ module MCollective
@puppetd = @config.pluginconf["puppetd.puppetd"] ||
"/usr/sbin/daemonize -a \
-l #{@lockfile} \
-p #{@lockfile} "
-p #{@lockfile} \
-e /var/log/puppet-error.log"
@puppetd_agent = "/usr/bin/puppet apply"
@last_summary = @config.pluginconf["puppet.summary"] || "/var/lib/puppet/state/last_run_summary.yaml"
@lockmcofile = "/tmp/mcopuppetd.lock"