On 07/04/2012 03:58 PM, Throwe, Jesse wrote:
> If your running puppetd change 'puppet agent' to 'puppetd'. At least if
> for the releases you listed, I would move away from running daemonized
> puppet unless theres a special requirement/reason, and stick it in a
> cron instead.
+1
> command => "ps -ef | grep 'puppet agent' | grep -v grep | awk {'print
> \$2'} | xargs -iXX echo kill -HUP XX | sh",
*cringe* I advise the use of pgrep to retrieve pids.
Also, why not pipe to "xargs kill -HUP" directly?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.