[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585
James Turnbull
james at lovedthanlost.net
Fri Jan 23 14:21:44 UTC 2009
The following commit has been merged in the master branch:
commit 83cebb56126646ce3e16e70e473f8b4c062c432a
Author: Luke Kanies <luke at madstop.com>
Date: Tue Nov 25 13:22:19 2008 -0600
Partially fixing #1772 - fixing selinux tests broken by removal of extraneous 'stat' in :file.
Signed-off-by: Luke Kanies <luke at madstop.com>
diff --git a/spec/unit/type/file/selinux.rb b/spec/unit/type/file/selinux.rb
index 6da88db..a97f9bc 100644
--- a/spec/unit/type/file/selinux.rb
+++ b/spec/unit/type/file/selinux.rb
@@ -4,7 +4,7 @@ Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f
[:seluser, :selrole, :seltype, :selrange].each do |param|
-property = Puppet::Type.type(:file).attrclass(param)
+ property = Puppet::Type.type(:file).attrclass(param)
describe property do
before do
@resource = mock 'resource'
@@ -69,7 +69,6 @@ property = Puppet::Type.type(:file).attrclass(param)
it "should be able to set a new context" do
stat = stub 'stat', :ftype => "foo"
- @resource.expects(:stat).returns stat
@sel.should = %w{newone}
@sel.expects(:set_selinux_context).with("/my/file", ["newone"], param)
@sel.sync
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list