[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:19 UTC 2009
The following commit has been merged in the master branch:
commit 307260f5493b54c4d9435dd8e71b30d5c08edb05
Author: James Turnbull <james at lovedthanlost.net>
Date: Wed Oct 8 13:57:54 2008 +1100
Remove old selboolean unit tests and fix permissions on new tests
diff --git a/spec/unit/other/selinux.rb b/spec/unit/other/selinux.rb
index e4bdf39..6f8fcb0 100644
--- a/spec/unit/other/selinux.rb
+++ b/spec/unit/other/selinux.rb
@@ -2,38 +2,8 @@
require File.dirname(__FILE__) + '/../../spec_helper'
-require 'puppet/type/selboolean'
require 'puppet/type/selmodule'
-describe Puppet.type(:selboolean), " when manipulating booleans" do
- before :each do
- @bool = Puppet::Type::Selboolean.create(
- :name => "foo",
- :value => "on",
- :persistent => true )
- end
- it "should be able to access :name" do
- @bool[:name].should == "foo"
- end
- it "should be able to access :value" do
- @bool.property(:value).should == :on
- end
- it "should set :value to off" do
- @bool[:value] = :off
- @bool.property(:value).should == :off
- end
- it "should be able to access :persistent" do
- @bool[:persistent].should == :true
- end
- it "should set :persistent to false" do
- @bool[:persistent] = false
- @bool[:persistent].should == :false
- end
- after :each do
- Puppet::Type::Selboolean.clear()
- end
-end
-
describe Puppet.type(:selmodule), " when checking policy modules" do
before :each do
@module = Puppet::Type::Selmodule.create(
diff --git a/spec/unit/provider/selboolean.rb b/spec/unit/provider/selboolean.rb
old mode 100644
new mode 100755
diff --git a/spec/unit/type/selboolean.rb b/spec/unit/type/selboolean.rb
old mode 100644
new mode 100755
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list