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

Markus Roberts Markus at reality.com
Wed Jul 14 10:36:25 UTC 2010


The following commit has been merged in the upstream branch:
commit d6d726bc683b770cdf493ce0977fda095cb8f89c
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Thu Jul 1 15:46:40 2010 -0700

    Heisenbug: settings as catalog trying to create directories
    
    Specs in settings were allowing the settings-as-catalog to escape onto
    the system.

diff --git a/spec/unit/util/settings_spec.rb b/spec/unit/util/settings_spec.rb
index d0d2e0d..56769af 100755
--- a/spec/unit/util/settings_spec.rb
+++ b/spec/unit/util/settings_spec.rb
@@ -864,6 +864,7 @@ describe Puppet::Util::Settings do
 
         it "should specify that it is not managing a host catalog" do
             catalog = Puppet::Resource::Catalog.new("foo")
+            catalog.expects(:apply)
             @settings.expects(:to_catalog).returns catalog
 
             catalog.stubs(:to_ral).returns catalog

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list