[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. puppet-0.24.5-rc3-1601-gf8c1b08

Jesse Wolfe jes5199 at gmail.com
Fri Jan 15 09:07:37 UTC 2010


The following commit has been merged in the upstream branch:
commit e04d2998eac50b7d971a9057dd6ef06f26c34de7
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Thu Dec 10 14:56:07 2009 -0800

    Fixing 2858 spec/unit/application/puppetmasterd.rb fails if run twice
    
    @puppetmasterd.options[:node] leaks from test to test
    
    Signed-off-by: Jesse Wolfe <jes5199 at gmail.com>

diff --git a/spec/unit/application/puppetmasterd.rb b/spec/unit/application/puppetmasterd.rb
index 9801387..f522fcc 100644
--- a/spec/unit/application/puppetmasterd.rb
+++ b/spec/unit/application/puppetmasterd.rb
@@ -237,6 +237,7 @@ describe "PuppetMaster" do
 
         it "should dispatch to parseonly if parseonly is set" do
             Puppet.stubs(:[]).with(:parseonly).returns(true)
+            @puppetmasterd.options[:node] = nil
 
             @puppetmasterd.get_command.should == :parseonly
         end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list