Issue #2450 has been updated by Luke Kanies. Status changed from Unreviewed to Closed Assigned to set to Luke Kanies
This is actually essentially a support ticket, as it's only in a branch used by a customer. Fixed in the branch. ---------------------------------------- Bug #2450: undefined method 'ignore_cache?' http://projects.reductivelabs.com/issues/2450 Author: Digant Kasundra Status: Closed Priority: Normal Assigned to: Luke Kanies Category: Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: This is in the asynchronous storeconfigs branch. I get the error: <pre> err: Cached node for puppet-test.stanford.edu failed: undefined method `ignore_cache?' for #<Puppet::Indirector::Request:0xb6f92fd4> </pre> I believe the fix may be: <pre> diff --git a/lib/puppet/indirector/indirection.rb b/lib/puppet/indirector/indire index b5b2175..41f4c05 100644 --- a/lib/puppet/indirector/indirection.rb +++ b/lib/puppet/indirector/indirection.rb @@ -224,7 +224,7 @@ class Puppet::Indirector::Indirection def find_in_cache(request) # See if our instance is in the cache and up to date. - return nil unless cache? and ! request.ignore_cache? and cached = cache + return nil unless cache? and ! Puppet[:ignorecache] and cached = cache. if cached.expired? Puppet.info "Not using expired %s for %s from cache; expired at %s" return nil </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
