Non homogeneous environment.  If I recall we had an issue with a
simpler command like you suggested with old versions of Solaris.

On Wed, Jul 4, 2012 at 10:11 AM, Felix Frank
<felix.fr...@alumni.tu-berlin.de> wrote:
> 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 puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to