I''d like to set a resource to have the "normal" schedule, ie "every time we run". The type has a default of a more restricted schedule. Looking at the type reference, there isn''t a built-in schedule for normal is there? Do I need to do something like this? Please tell me that there''s some better way to override a schedule applied as a default for the type. schedule Anytime { period => hourly, periodmatch => number, repeat => 1000, } -- Jo Rhett Net Consonance : net philanthropy to improve open source and internet projects. -- 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.
Peter Brown
2012-Nov-09 01:05 UTC
Re: [Puppet Users] I need a schedule for any time/every time.
Not having seen any of your code I have no idea if this will work. I am going to assume you are using some kind of decision based logic to apply these schedules to your resources, if you set schedule to undef it will basically unset it for that resource and so it will be active all the time. Hope that helps. Pete. On 9 November 2012 10:42, Jo Rhett <jrhett@netconsonance.com> wrote:> I''d like to set a resource to have the "normal" schedule, ie "every time > we run". The type has a default of a more restricted schedule. Looking at > the type reference, there isn''t a built-in schedule for normal is there? > > Do I need to do something like this? Please tell me that there''s some > better way to override a schedule applied as a default for the type. > > schedule Anytime { > period => hourly, > periodmatch => number, > repeat => 1000, > } > > -- > Jo Rhett > Net Consonance : net philanthropy to improve open source and internet > projects. > > > > -- > 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. > >-- 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.