Issue #2197 has been updated by James Turnbull.

Status changed from Ready for Testing to Closed

Pushed in commit:"5680cd5029c8b3a2cf5a2a3b10df6acf7a9fc870" in branch master.
----------------------------------------
Bug #2197: Daemontools tests don't work
http://projects.reductivelabs.com/issues/2197

Author: Luke Kanies
Status: Closed
Priority: Normal
Assigned to: Bryan Allen
Category: testing
Target version: 0.25.0
Complexity: Easy
Affected version: 0.24.7
Keywords: 


I get this:
<pre>
1)
NoMethodError in 'Puppet::Type::Service::ProviderDaemontools when starting 
should call enable'
undefined method `[]' for nil:NilClass
/Users/luke/git/puppet/lib/puppet/provider/service/base.rb:132:in `ucommand'
/Users/luke/git/puppet/lib/puppet/provider/service/base.rb:81:in `start'
./spec/unit/provider/service/daemontools.rb:63:
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

2)
NoMethodError in 'Puppet::Type::Service::ProviderDaemontools when stopping 
should call disable'
undefined method `[]' for nil:NilClass
/Users/luke/git/puppet/lib/puppet/provider/service/base.rb:101:in `stop'
./spec/unit/provider/service/daemontools.rb:70:
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

3)
NoMethodError in 'Puppet::Type::Service::ProviderDaemontools when disabling 
should stop and then remove the symlink between daemon dir and service dir'
undefined method `[]' for nil:NilClass
/Users/luke/git/puppet/lib/puppet/provider/service/base.rb:101:in `stop'
/Users/luke/git/puppet/lib/puppet/provider/service/daemontools.rb:180:in 
`disable'
./spec/unit/provider/service/daemontools.rb:88:
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

4)
NoMethodError in 'Puppet::Type::Service::ProviderDaemontools when disabling 
should also call 'svc -dx /etc/service/myservice''
undefined method `[]' for nil:NilClass
/Users/luke/git/puppet/lib/puppet/provider/service/base.rb:101:in `stop'
/Users/luke/git/puppet/lib/puppet/provider/service/daemontools.rb:180:in 
`disable'
./spec/unit/provider/service/daemontools.rb:98:
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

Finished in 0.070604 seconds

15 examples, 4 failures

</pre>

If these aren't fixed, the commits will need to get reverted.


-- 
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