Issue #2056 has been reported by jamtur01.

----------------------------------------
Refactor #2056: Runit and launchd service providers ignores stop
http://projects.reductivelabs.com/issues/2056

Author: jamtur01
Status: Accepted
Priority: Normal
Assigned to: community
Category: service
Target version: 0.26.0
Affected version: 0.24.7


Ticket #2026 identified an issue with the Red Hat server provider.  This issue 
is also present on the launchd and runit providers.

<pre>
A discussion [1] on the mailinglist let me test the problem. And I can confirm 
the discussed problem and would say that the redhat service provider is 
ignoring any supplied stop command:

This is a run with latest head:

# cat foo.pp 

service{'httpd':
        stop => '/bin/false',
        ensure => stopped,
}
# puppet --debug foo.pp
info: Loading fact virtual
debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not 
exist
debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not 
exist
debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d does 
not exist
debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not 
exist
debug: Creating default schedules
debug: Service[httpd](provider=redhat): Executing 'ps -ef'
debug: Service[httpd](provider=redhat): PID is 9148
debug: //Service[httpd]: Changing ensure
debug: //Service[httpd]: 1 change(s)
debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/service httpd 
stop'
notice: //Service[httpd]/ensure: ensure changed 'running' to 'stopped'
debug: Finishing transaction 23924404000140 with 1 changes

[1] 
http://groups.google.com/group/puppet-users/browse_thread/thread/e21a9b1e4621b58
</pre>


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