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

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:34:01 UTC 2010


The following commit has been merged in the upstream branch:
commit 4ba3dc22fe4c6b54564d468e70b79e4695911c61
Author: Luke Kanies <luke at puppetlabs.com>
Date:   Mon May 17 12:22:31 2010 -0700

    Fixing #2655 - Adding default parameter values to resources
    
    We were previously just adding these values as variables in
    the local scope, but we now add them to the resources so they
    get passed to the client in the catalog and are thus inspectable.
    
    Signed-off-by: Luke Kanies <luke at puppetlabs.com>

diff --git a/spec/unit/resource/type.rb b/spec/unit/resource/type.rb
index 3e537bb..bab2522 100755
--- a/spec/unit/resource/type.rb
+++ b/spec/unit/resource/type.rb
@@ -290,7 +290,9 @@ describe Puppet::Resource::Type do
 
         it "should set all default values as parameters in the resource" do
             @type.set_arguments :foo => stub("value", :safeevaluate => "something")
+
             @type.set_resource_parameters(@resource, @scope)
+
             @resource[:foo].should == "something"
         end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list