I have created a script which restart the services . Since by default the polling interval is 30 min, Hence it is getting restarted every 30 min.. Is there any away to force that script to run as per our requirement. In another word, How to stop that script to make any changes on the agent without removing from nodes.pp Thanks Afroz Hussain -- 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.
On Sat, Mar 17, 2012 at 9:44 PM, Afroz Hussain <hussainaphroj@gmail.com>wrote:> I have created a script which restart the services . Since by default > the polling interval is 30 min, Hence it is getting restarted every 30 > min.. Is there any away to force that script to run as per our > requirement. >You can always run puppet voluntarily when you need it badly with: puppetd --no-daemonize --verbose then kill this process after your work is done! -- Best, Zico -- 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.
On Mar 17, 2012, at 11:44 AM, Afroz Hussain <hussainaphroj@gmail.com> wrote:> I have created a script which restart the services . Since by default > the polling interval is 30 min, Hence it is getting restarted every 30 > min.. Is there any away to force that script to run as per our > requirement. > In another word, How to stop that script to make any changes on the > agent without removing from nodes.pp > > Thanks > Afroz HussainAre you using an exec resource to run the script? Why not let puppet keep running on its regular interval and use a cron resource to schedule the script as required? -- Peter Bukowinski -- 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.
Have you looked into using the ''schedule'' type to prevent the restarts from happening during business hours? -- 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.
Thanks everyone.. On Mar 19, 8:02 pm, Adam Heinz <a...@metricwise.net> wrote:> Have you looked into using the ''schedule'' type to prevent the restarts > from happening during business hours?-- 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.