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.

Thanks,
jl

From: [email protected] [mailto:[email protected]] On 
Behalf Of Justin Lambert
Sent: Wednesday, April 01, 2009 12:31 PM
To: [email protected]
Subject: [Puppet Users] Default Schedule

I am trying to set a default schedule and not having a lot of luck.  It doesn't 
look like they are used a whole lot and I've had a hard time finding 
documentation.  What I would ultimately like is for the default schedule to be 
daily from "17:00 - 03:00."  I'm not sure if it'll work past midnight, if it 
doesn't I can work around that.  I found in a previous post to set the default 
schedule define:

/etc/puppet/manifests/site.pp
Schedule{
            period   => hourly,
            range    => "17:00 - 23:00",
}

(I set it so it wouldn't cross midnight first, after I get this working I can 
extend it and see if it still works)

The problem is that it looks like puppetd still processes everything even 
though it is outside the scheduled window.  What am I missing?

Thanks,
jl




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to