The greatly-simplified case works fine, or at least has done across a couple of platforms for 24 hours.
A few hours ago I changed the proof-of-concept package management version to place the schedule inside the class. i.e., rather than: schedule{blah:} define moreblah {..., schedule=>blah} class theclass {moreblah{foo:}} it's now define moreblah {..., schedule=>blah} class theclass { schedule{blah:} moreblah{wibble:} } and it *seems* to be working. I can only assume that sometimes it was parsing the class before the schedule, even though the schedule was defined before the class in the same file in the manifest, but now that the schedule is defined *in* the class the ordering is working out OK. But I'll need to let it run for longer before I'm prepared to say it's definitely OK. Matt Matt McLeod wrote: > > Luke Kanies wrote: > > I've not seen this before, and I just verified that finding a schedule > > shouldn't be at all related to the order in which resources get > > instantiated on the client or anything silly like that. > > > > This is just happening on a single node? > > It's happened on the two nodes I'm testing with, but they're both > running the same Puppet+etc stack. > > I've just built a fresh stack for SPARC and am testing that at the > moment. The problem has cropped up there yet but it's only been > running a few hours and it's been intermittent on the first two nodes. > > I've just rolled out a much simpler test case: > > schedule {testsched: > period=>daily, > range=>"14 - 22", > repeat=>1 > } > file{"/tmp/puppet-test.foo": > ensure=>directory, > schedule=>testsched > } > > to a couple of machines (Solaris 10/x86, Solaris 8/SPARC, CentOS) > to see how that goes. It'd be just my luck that some oddity in our > Sol10/x86 build environment tickles something in Ruby the wrong way... > > Will come back with more info tomorrow once it's been running for > 24 hours with the simplified test case. > > Matt > > -- > * Matt McLeod | mail: m...@boggle.org | blog: http://abortrephrase.com/ * > --- People can do the work, so machines have time to think --- > > > -- * Matt McLeod | mail: m...@boggle.org | blog: http://abortrephrase.com/ * --- People can do the work, so machines have time to think --- --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---