I''d like to change the puppet run interval in the puppet.conf file
after the first catalog run.
I''ve tried by using service and notify, also tried with a exec
["/etc/init.d/puppet" restart] and a reload but to no avail. Puppet
will terminate if done via service, subscribe/notify, and exec
restart. However if I do a exec reload I get.
puppetd[17970]: Starting catalog run
puppetd[17970]: (//Node/puppet/File[puppet.conf]/content) changed file
contents from {md5}06a601ced9b8a5f89ce7225c9584a628 to
{md5}838c81d80e55fc3bf3709df040770321
puppetd[17970]: (//Node/puppet/Exec[/etc/init.d/puppet reload])
Triggering ''refresh'' from 1 dependencies
puppetd[17970]: Finished catalog run in 0.59 seconds
puppetd[17970]: Reparsing /etc/puppet/puppet.conf
But puppet still continues to poll at the original interval and not
the new value in the puppet.conf file.
Running CentOS 5 clients.
Has anyone done this successfully?
Thanks,
Matt
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Forgot to say - Running Puppet 0.24.5 Ruby 1.8.5 2008/11/3 Matt <mattmoran76@gmail.com>:> I''d like to change the puppet run interval in the puppet.conf file > after the first catalog run. > > I''ve tried by using service and notify, also tried with a exec > ["/etc/init.d/puppet" restart] and a reload but to no avail. Puppet > will terminate if done via service, subscribe/notify, and exec > restart. However if I do a exec reload I get. > > puppetd[17970]: Starting catalog run > puppetd[17970]: (//Node/puppet/File[puppet.conf]/content) changed file > contents from {md5}06a601ced9b8a5f89ce7225c9584a628 to > {md5}838c81d80e55fc3bf3709df040770321 > puppetd[17970]: (//Node/puppet/Exec[/etc/init.d/puppet reload]) > Triggering ''refresh'' from 1 dependencies > puppetd[17970]: Finished catalog run in 0.59 seconds > puppetd[17970]: Reparsing /etc/puppet/puppet.conf > > But puppet still continues to poll at the original interval and not > the new value in the puppet.conf file. > > Running CentOS 5 clients. > > Has anyone done this successfully? > > Thanks, > > Matt >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I would recommend you to switch to cron, this way you also avoid the memory abuse by puppetd. Ohad On Mon, Nov 3, 2008 at 8:53 PM, Matt <mattmoran76@gmail.com> wrote:> > Forgot to say - Running Puppet 0.24.5 Ruby 1.8.5 > > 2008/11/3 Matt <mattmoran76@gmail.com>: > > I''d like to change the puppet run interval in the puppet.conf file > > after the first catalog run. > > > > I''ve tried by using service and notify, also tried with a exec > > ["/etc/init.d/puppet" restart] and a reload but to no avail. Puppet > > will terminate if done via service, subscribe/notify, and exec > > restart. However if I do a exec reload I get. > > > > puppetd[17970]: Starting catalog run > > puppetd[17970]: (//Node/puppet/File[puppet.conf]/content) changed file > > contents from {md5}06a601ced9b8a5f89ce7225c9584a628 to > > {md5}838c81d80e55fc3bf3709df040770321 > > puppetd[17970]: (//Node/puppet/Exec[/etc/init.d/puppet reload]) > > Triggering ''refresh'' from 1 dependencies > > puppetd[17970]: Finished catalog run in 0.59 seconds > > puppetd[17970]: Reparsing /etc/puppet/puppet.conf > > > > But puppet still continues to poll at the original interval and not > > the new value in the puppet.conf file. > > > > Running CentOS 5 clients. > > > > Has anyone done this successfully? > > > > Thanks, > > > > Matt > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I set the interval using both the config file and the command line. Works fine. I believe I did this originally because the config file alone did not work. But that was in 0.23. I haven''t retested in later versions, since everything is working. Steven> -----Original Message----- > From: puppet-users@googlegroups.com[mailto:puppet-users@googlegroups.com]> On Behalf Of Matt > Sent: Monday, November 03, 2008 4:52 AM > To: puppet-users@googlegroups.com > Subject: [Puppet Users] changing puppet run interval > > > I''d like to change the puppet run interval in the puppet.conf file > after the first catalog run. > > I''ve tried by using service and notify, also tried with a exec > ["/etc/init.d/puppet" restart] and a reload but to no avail. Puppet > will terminate if done via service, subscribe/notify, and exec > restart. However if I do a exec reload I get. > > puppetd[17970]: Starting catalog run > puppetd[17970]: (//Node/puppet/File[puppet.conf]/content) changed file > contents from {md5}06a601ced9b8a5f89ce7225c9584a628 to > {md5}838c81d80e55fc3bf3709df040770321 > puppetd[17970]: (//Node/puppet/Exec[/etc/init.d/puppet reload]) > Triggering ''refresh'' from 1 dependencies > puppetd[17970]: Finished catalog run in 0.59 seconds > puppetd[17970]: Reparsing /etc/puppet/puppet.conf > > But puppet still continues to poll at the original interval and not > the new value in the puppet.conf file. > > Running CentOS 5 clients. > > Has anyone done this successfully? > > Thanks, > > Matt--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---