Issue #2480 has been reported by Robin Bowes.
----------------------------------------
Bug #2480: start/startcmd missing from runit service provider
http://projects.reductivelabs.com/issues/2480
Author: Robin Bowes
Status: Unreviewed
Priority: Normal
Assigned to:
Category: service
Target version:
Complexity: Unknown
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
-~----------~----~----~----~------~----~------~--~---