On Tue, Mar 17, 2009 at 2:33 PM, James Turnbull <ja...@lovedthanlost.net> wrote: > Steve Wray wrote: >> Nigel Kersten wrote: >>> On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray <steve.w...@cwa.co.nz> wrote: >>>> Nigel Kersten wrote: >>>>> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray <steve.w...@cwa.co.nz> wrote: >>>>>> I'm seeing these errors on many servers: >>>>>> >>>>>> Could not run Puppet::Client::MasterClient: undefined method `-' for >>>>>> #<XMLRPC::DateTime:0xb787bb64> >>>>>> >>>>>> >>>>>> This does not seem to happen when puppetd -vt is run manually. It shows >>>>>> every half an hour or so. >>>>>> >>>>>> Any ideas? >>>>> It doesn't happen with -t because that ignores the cache. >>>>> >>>>> This was a bug fixed upstream. >>>> Is there a workaround, any way to get the automatic runs ignore the cache? >>>> >>>> I'm not in a position to upgrade puppet at this time on these servers... >>> It's a tiny patch on the server. It's going to be by far the easiest >>> way to resolve this, unless you modify all your clients to ignore the >>> cache. >> >> If you mean the patch at >> http://github.com/nigelkersten/puppetmaster/commit/65ce150b04e46cfb572d9d2682bf5d9a3b37da68 >> which is referred to at http://projects.reductivelabs.com/issues/show/1551 >> then its a broken link :( > > But not here it isn't - a little further down in the ticket: > > http://projects.reductivelabs.com/projects/puppet/repository/revisions/e15d316cbb9ee33bfbed4b29649f36a97490e985 >
To further muddy the waters, this was changed at some later point. # Tell a client whether there's a fresh config for it def freshness(client = nil, clientip = nil) # Always force a recompile. Newer clients shouldn't do this (as of April 2008). return Time.now.to_i end is what the current version of Puppet does. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---