Hi, when splay is enabled on a client and a run is triggered with puppetrun, a new random time is picked before the run is started (second last and last line): puppetd --no-daemonize --verbose info: Loading fact nrpe_collect info: Loading fact envname info: Loading fact want_ntp info: Loading fact hnhostname info: Starting handler for Runner info: Starting server for Puppet version 0.24.8 info: Listening on port 8139 notice: Starting Puppet client version 0.24.8 info: Sleeping for 1605 seconds (splay is enabled) .... notice: puppetmaster.test.local(10.0.0.12) triggered run info: Sleeping for 1486 seconds (splay is enabled) Is there a way I can tell the client to start the run immediately? Thank you. Best regards, Bernhard -- 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.
Add --onetime That works for me. On Aug 17, 9:42 am, Bernhard Miklautz <miklautz+pup...@inqnet.at> wrote:> Hi, > > when splay is enabled on a client and a run is triggered with puppetrun, > a new random time is picked before the run is started (second last and > last line): > > puppetd --no-daemonize --verbose > info: Loading fact nrpe_collect > info: Loading fact envname > info: Loading fact want_ntp > info: Loading fact hnhostname > info: Starting handler for Runner > info: Starting server for Puppet version 0.24.8 > info: Listening on port 8139 > notice: Starting Puppet client version 0.24.8 > info: Sleeping for 1605 seconds (splay is enabled) > .... > notice: puppetmaster.test.local(10.0.0.12) triggered run > info: Sleeping for 1486 seconds (splay is enabled) > > Is there a way I can tell the client to start the run immediately? > > Thank you. > Best regards, > Bernhard-- 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.
Just to clarify - the "--onetime" is for testing. On Aug 18, 4:16 pm, Rustler <coltsixshoo...@gmail.com> wrote:> Add --onetime > > That works for me. > > On Aug 17, 9:42 am, Bernhard Miklautz <miklautz+pup...@inqnet.at> > wrote: > > > Hi, > > > when splay is enabled on a client and a run is triggered with puppetrun, > > a new random time is picked before the run is started (second last and > > last line): > > > puppetd --no-daemonize --verbose > > info: Loading fact nrpe_collect > > info: Loading fact envname > > info: Loading fact want_ntp > > info: Loading fact hnhostname > > info: Starting handler for Runner > > info: Starting server for Puppet version 0.24.8 > > info: Listening on port 8139 > > notice: Starting Puppet client version 0.24.8 > > info: Sleeping for 1605 seconds (splay is enabled) > > .... > > notice: puppetmaster.test.local(10.0.0.12) triggered run > > info: Sleeping for 1486 seconds (splay is enabled) > > > Is there a way I can tell the client to start the run immediately? > > > Thank you. > > Best regards, > > Bernhard > >-- 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.
Bernhard Miklautz
2010-Aug-19 08:10 UTC
Re: [Puppet Users] Re: Immediate puppetrun with splay
Hi, thanks for your answer. On 08/19/2010 01:21 AM, Rustler wrote:> Just to clarify - the "--onetime" is for testing. > On Aug 18, 4:16 pm, Rustler <coltsixshoo...@gmail.com> wrote: >> Add --onetime >> >> That works for me.Onetime doesn''t help me. I want to use it in production with the agent running in background. Basically I just need the possibility to say "don''t splay for this kick and run now" :). Best regards, Bernhard -- 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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bernhard Miklautz wrote:> Hi, > > thanks for your answer. > > On 08/19/2010 01:21 AM, Rustler wrote: >> Just to clarify - the "--onetime" is for testing. >> On Aug 18, 4:16 pm, Rustler <coltsixshoo...@gmail.com> wrote: >>> Add --onetime >>> >>> That works for me. > > Onetime doesn''t help me. I want to use it in production with the agent > running in background. > Basically I just need the possibility to say "don''t splay for this kick > and run now" :).If this is from your init script, make the start function/section run it with --onetime then run it with splay. You get your immediate run, then your delayed and periodic runs. - -- Craig Miskell Senior Systems Administrator Opus International Consultants Phone: +64 4 471 7209 On SQL performance problems: "If your row count is best represented in scientific notation, you should probably recheck your design." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkxtmTEACgkQmDveRtxWqnatzwCfU/EI5FJAi6DlQlKW63CHfX/B J8oAn0YlDrsD0jVNIwlrZ0/blDkDsckt =fgLT -----END PGP SIGNATURE----- -- 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.