Issue #2480 has been updated by Brice Figureau.

Status changed from Accepted to Closed
Target version set to 0.25.0
Complexity changed from Unknown to Trivial

This has already been fixed in commit:da828a42
----------------------------------------
Bug #2480: start/startcmd missing from runit service provider
http://projects.reductivelabs.com/issues/2480

Author: Robin Bowes
Status: Closed
Priority: Normal
Assigned to: Brice Figureau
Category: service
Target version: 0.25.0
Complexity: Trivial
Affected version: 0.24.8
Keywords: 


I'm using puppet 0.24.8 on CentOS 5.3 from epel.

I have this service definition:

<pre>
        service { "service-runit-httpd":
                enable  => "true",
                ensure  => "running",
                hasrestart => "true",
                hasstatus  => "true",
                name       => "httpd2",
                provider   => "runit",
                require    => [
                        Package[httpd],
                        Package[runit],
                ],
        }
</pre>

When first applied, the service is created and starts. However, if I manually 
stop the service (sv stop httpd2), it is not restarted when puppet runs again.

I've tracked this down to a missing start and startcmd in the runit service 
provider.

I've attached a patch that fixes the issue.

R.


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