chakkerz
2009-May-18 00:33 UTC
[Puppet Users] running and configuring puppetd as a daemon at a set time
Hello All I gather that the number of times the daemon checks in is controlled via runinterval (default 1800 seconds) Further, splay (and splaylimit) sets if a pseudo random time is used before checking in. BUT does splay have any meaning if i can not set when the daemon should attempt to check in? Or can i set the check-in time (i may have just missed the option)? cheers chakkerz --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Greg
2009-May-18 22:51 UTC
[Puppet Users] Re: running and configuring puppetd as a daemon at a set time
If you want it to run at a specific time, you could use cron to do a ''puppetd --onetime'' if you want to get it to run at a specific time... Though that doesn''t let you use puppetrun to push out updates at other times, as the daemon isn''t running. On May 18, 10:33 am, chakkerz <chakk...@gmail.com> wrote:> Hello All > > I gather that the number of times the daemon checks in is controlled > via runinterval (default 1800 seconds) > Further, splay (and splaylimit) sets if a pseudo random time is used > before checking in. > > BUT does splay have any meaning if i can not set when the daemon > should attempt to check in? Or can i set the check-in time (i may have > just missed the option)? > > cheers > chakkerz--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
chakkerz
2009-May-21 02:16 UTC
[Puppet Users] Re: running and configuring puppetd as a daemon at a set time
Yeah ... that''s what i thought. Thanks though :) --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Greg
2009-May-21 02:39 UTC
[Puppet Users] Re: running and configuring puppetd as a daemon at a set time
Just thinking about it a bit more... You could control that cron job from puppet, that would give you the ability to change it as you require.. Something like: cron { puppetd: command => "/usr/local/bin/puppetd --onetime", user => root, hour => 2, minute => 0 } Obviously this still doesn''t allow you to do ad-hoc runs as you would have to wait for the next scheduled run to update the crontab, but it does allow you to control the schedule on a more globally... On May 21, 12:16 pm, chakkerz <chakk...@gmail.com> wrote:> Yeah ... that''s what i thought. Thanks though :)--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Ohad Levy
2009-May-21 04:00 UTC
[Puppet Users] Re: running and configuring puppetd as a daemon at a set time
you can always use the mini-daemon puppetlisten- http://github.com/ohadlevy/puppet/tree/266e9108c268daf0b2e319bc202d51101b6f594f/ext/puppetlisten Cheers, Ohad On Thu, May 21, 2009 at 10:39 AM, Greg <greg.boug@gmail.com> wrote:> > Just thinking about it a bit more... You could control that cron job > from puppet, > that would give you the ability to change it as you require.. > Something like: > > cron { puppetd: > command => "/usr/local/bin/puppetd --onetime", > user => root, > hour => 2, > minute => 0 > } > > Obviously this still doesn''t allow you to do ad-hoc runs as you would > have to > wait for the next scheduled run to update the crontab, but it does > allow you > to control the schedule on a more globally... > > On May 21, 12:16 pm, chakkerz <chakk...@gmail.com> wrote: > > Yeah ... that''s what i thought. Thanks though :) > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- Example of a working runinterval + splay configuration?
- Question: Do all puppetd run at the same time?
- Could not call fileserver.describe: #<Errno:: ECONNRESET: Connection reset by peer>
- puppetd daemon vs. cron
- Still getting an error....Re: Mcollective/Puppet Plug-In