[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master,	updated. debian/0.24.7-1-98-gf19c0e5
    James Turnbull 
    james at lovedthanlost.net
       
    Wed Apr  8 21:48:04 UTC 2009
    
    
  
The following commit has been merged in the master branch:
commit 897539e857b0da9145f15648b6aa2ef124ec1a19
Author: Luke Kanies <luke at madstop.com>
Date:   Tue Jan 6 16:13:17 2009 -0600
    Removing a redundant instance prefect call.
    
    For some reason, Puppet::Type#evaluate was calling
    'prefetch' on instances that support it, but prefetching
    is only a class-level functionality, normally -- in fact, it makes
    no sense unless done at the class level.
    
    This patch just removes the code.
    
    Signed-off-by: Luke Kanies <luke at madstop.com>
diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index 7e86549..b57c74b 100644
--- a/lib/puppet/type.rb
+++ b/lib/puppet/type.rb
@@ -822,10 +822,6 @@ class Type
         end
         @evalcount += 1
 
-        if p = self.provider and p.respond_to?(:prefetch)
-            p.prefetch
-        end
-
         # this only operates on properties, not properties + children
         # it's important that we call retrieve() on the type instance,
         # not directly on the property, because it allows the type to override
-- 
Puppet packaging for Debian
    
    
More information about the Pkg-puppet-devel
mailing list