Issue #1353 has been updated by init.

> In my opinion init's argumentation makes sense.

Thanks.

> For example, maybe you rather like to gracefully restart apache.

Exactly.

> On the other hand I think the current solution is correct, as restart means 
> in my opinion restart and not reload. So I would appreciate a patch which 
> will enable the provider for more felixibility and if the 
> redhat-service-provider would respect the reload parameter it wouldn't change 
> the current behaviour, it would simply extend it and make it working 
> according to the documentation.

With this solution, there would need to be some mechanism to make sure that 
sending events to a service would trigger a reload instead of a restart. With 
my proposed fix, restart would actually always be a reload, which of course 
would be a problem if you sometimes would want a restart and sometimes would 
want a reload.

And then, reload isn't always reload. The Apache init.d script has both reload 
and graceful. How would one differ between those?

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