[Puppet Users] RE: Default Schedule

Justin Lambert
Tue, 07 Apr 2009 14:00:19 -0000

I can set schedules, and those work fine. What I am trying to prevent is (my)
stupidity of accidently scheduling something that runs during the day.  I will
then over-ride the default with anything that should be checked during the day.
I found where the default schedule is defined, and could modify that code, but I
would assume there is a more ''correct'' way of doing this.  My
ruby is also very poor (non-existent).

What I was looking at was this thread:
http://groups.google.com/group/puppet-users/browse_thread/thread/3b77a239a1d77d5/516d24762429bf35
that mentioned Schedule.  I have put:

Schedule {
            range    => "12 - 14",
}

As the first item in my site.pp, just to be sure the parser found it.  Any help
on the correct way to over-ride the default schedule would be great.  The type
reference doesn''t seem to have anything that helps me out either.