[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

Sean E. Millichamp sean at bruenor.org
Fri Jan 23 14:21:29 UTC 2009


The following commit has been merged in the master branch:
commit 81c3b721f7c2622d6145338dd28aa328fcf5af1a
Author: Sean E. Millichamp <sean at bruenor.org>
Date:   Wed Oct 22 14:34:33 2008 -0400

    Fix SELinux test to succeed when Puppet debug mode is enabled

diff --git a/spec/unit/type/file/selinux.rb b/spec/unit/type/file/selinux.rb
index 5e2c353..6da88db 100644
--- a/spec/unit/type/file/selinux.rb
+++ b/spec/unit/type/file/selinux.rb
@@ -56,6 +56,7 @@ property = Puppet::Type.type(:file).attrclass(param)
         end
 
         it "should be able to detect matchpathcon defaults" do
+            @sel.stubs(:debug)
             @sel.expects(:get_selinux_default_context).with("/my/file").returns "user_u:role_r:type_t:s0"
             expectedresult = case param
                 when :seluser then "user_u"

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list