Issue #6718 has been reported by Robin Bowes.

----------------------------------------
Bug #6718: runit service provider fails when trying to install a new service
https://projects.puppetlabs.com/issues/6718

Author: Robin Bowes
Status: Unreviewed
Priority: Normal
Assignee: 
Category: provider
Target version: 
Affected Puppet version: 2.6.5
Keywords: 
Branch: 


When adding a new service with the runit provider, I get this:

err: Could not run Puppet configuration client: Could not get status for 
service Service[s_runit_send_hits]: Execution of '/usr/bin/sv status 
/etc/sv/send_hits' returned 1: fail: /etc/sv/send_hits: unable to change to 
service directory: file does not exist

It is trying to check the status of the service *before* the service has been 
created. There should be an explicit check that the service is installed before 
trying to run the service status method.

I have a fix and will attach a patch that seems to do the trick.


-- 
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://projects.puppetlabs.com/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