[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-663-g71824ee

Markus Roberts Markus at reality.com
Tue Jul 20 07:42:34 UTC 2010


The following commit has been merged in the upstream branch:
commit d6cbb2198e06bb6b8f0172b1a48c9717c7ce6e17
Author: Markus Roberts <Markus at reality.com>
Date:   Wed Jul 14 13:29:11 2010 -0700

    Fix for #4234 -- ruby DSL fails on second resource
    
    The loop detection mechanism isn't great (it should, for example, allow nesting
    if the signatures differ) but the key problem was that the ensure was simply
    backwards.

diff --git a/lib/puppet/dsl/resource_api.rb b/lib/puppet/dsl/resource_api.rb
index 9aa1ea0..d82373b 100644
--- a/lib/puppet/dsl/resource_api.rb
+++ b/lib/puppet/dsl/resource_api.rb
@@ -37,7 +37,7 @@ class Puppet::DSL::ResourceAPI
 
     super
   ensure
-    @searching_for_method = true
+    @searching_for_method = false
   end
 
   def set_instance_variables

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list