Issue #1897 has been updated by pnasrat.

git annotate seems to hint at:

commit e4ba3db1963081eacc2aef3d865f777b427ef23c
Author: Luke Kanies <[email protected]>
Date:   Wed Dec 17 18:29:58 2008 -0600

    Deprecating the Puppet::Type.create.
    
    This method is no longer necessary; you can use the
    normal 'new' class method.
    
    Signed-off-by: Luke Kanies <[email protected]>

git show e4ba3db1 | filterdiff -i a/spec/unit/other/selinux.rb | patch -p1 -R

spec unit/other/selinux.rb
.............

Finished in 0.27392 seconds

13 examples, 0 failures


----------------------------------------
Bug #1897: SELinux tests in master branch
http://projects.reductivelabs.com/issues/1897

Author: jamtur01
Status: Tests Insufficient
Priority: Normal
Assigned to: 
Category: testing
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


There is a collection of selinux tests in the master branch that aren't in the 
0.24.x branch.  They all fail currently.

<pre>
FFFFFFFFFFFFF

1)
NoMethodError in 'Puppet::Type::File when manipulating file contexts should use 
:seluser to get/set an SELinux user file context attribute'
private method `new' called for Puppet::Type::File:Class
./selinux.rb:10:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

2)
NoMethodError in 'Puppet::Type::File when manipulating file contexts should use 
:selrole to get/set an SELinux role file context attribute'
private method `new' called for Puppet::Type::File:Class
./selinux.rb:10:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

3)
NoMethodError in 'Puppet::Type::File when manipulating file contexts should use 
:seltype to get/set an SELinux user file context attribute'
private method `new' called for Puppet::Type::File:Class
./selinux.rb:10:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

4)
NoMethodError in 'Puppet::Type::Selboolean when manipulating booleans should be 
able to access :name'
private method `new' called for Puppet::Type::Selboolean:Class
./selinux.rb:33:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

5)
NoMethodError in 'Puppet::Type::Selboolean when manipulating booleans should be 
able to access :value'
private method `new' called for Puppet::Type::Selboolean:Class
./selinux.rb:33:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

6)
NoMethodError in 'Puppet::Type::Selboolean when manipulating booleans should 
set :value to off'
private method `new' called for Puppet::Type::Selboolean:Class
./selinux.rb:33:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

7)
NoMethodError in 'Puppet::Type::Selboolean when manipulating booleans should be 
able to access :persistent'
private method `new' called for Puppet::Type::Selboolean:Class
./selinux.rb:33:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

8)
NoMethodError in 'Puppet::Type::Selboolean when manipulating booleans should 
set :persistent to false'
private method `new' called for Puppet::Type::Selboolean:Class
./selinux.rb:33:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

9)
NoMethodError in 'Puppet::Type::Selmodule when checking policy modules should 
be able to access :name'
private method `new' called for Puppet::Type::Selmodule:Class
./selinux.rb:62:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

10)
NoMethodError in 'Puppet::Type::Selmodule when checking policy modules should 
be able to access :selmoduledir'
private method `new' called for Puppet::Type::Selmodule:Class
./selinux.rb:62:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

11)
NoMethodError in 'Puppet::Type::Selmodule when checking policy modules should 
be able to access :selmodulepath'
private method `new' called for Puppet::Type::Selmodule:Class
./selinux.rb:62:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

12)
NoMethodError in 'Puppet::Type::Selmodule when checking policy modules should 
be able to access :syncversion'
private method `new' called for Puppet::Type::Selmodule:Class
./selinux.rb:62:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

13)
NoMethodError in 'Puppet::Type::Selmodule when checking policy modules should 
set the syncversion value to false'
private method `new' called for Puppet::Type::Selmodule:Class
./selinux.rb:62:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
./selinux.rb:57:

Finished in 0.06236 seconds

13 examples, 13 failures
</pre>


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to