On Wednesday, February 17, 2016 at 10:37:46 AM UTC-5, moons...@gmail.com wrote: > > is there any way we can check the heartbeat of puppet agents? > > and if agent is down can puppet try to bring up the server. >
It may be a bit primitive, but I've been using crontab to "manually" run the puppet agent. I use the fqdn_rand() function to pick a number between 1-30, then set a crontab with that minute, and that minute+30, as the times to run. Does a nice job of distributing the agent load across my enterprise. $r1 = fqdn_rand(30) $r2 = $r1 + 30 cron { 'puppet-agent': ensure => present, user => root, minute => [$r1, $r2], environment => 'MAILTO=""', command => "/usr/bin/puppet agent --test --environment $puppetEnvironment", } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8261d16a-8562-403b-8040-74cc4eccd5c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.