Issue #1353 has been updated by Fujin.

Status changed from Unreviewed to Rejected

The redhat service provider is designed to managed redhat-based LSB compliant 
init scripts, as such, specifying restart commands are unecessary - the restart 
command _IS_ restart, as per the documentation 
(http://www.linuxfoundation.org/spec/refspecs/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html)

If you *need* to explicitly specify the restart command make use of the base 
provider as you've already mentioned.
----------------------------------------
Bug #1353: Puppetd ignores service restart command for (at least) the redhat 
service provider
http://reductivelabs.com/redmine/issues/show/1353

Author: init
Status: Rejected
Priority: Normal
Assigned to: 
Category: service
Target version: 0.24.4
Complexity: Easy
Patch: None


Sometimes, I want to use specific restart commands for a service, but I have 
found out that Puppetd ignores them completely. I took a look at the code, and 
it seems like the restart property is only checked in the base service 
provider. The restart method is overridden in the init provider, and again 
overridden in the red hat provider, and none of those care the least about the 
restart property.

I would like to be able to specify restart commands without having to switch to 
the base provider for my services. I think that a specified command should 
always take precedence over the defaults.



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