Issue #2026 has been updated by jamtur01.
This fixes it for me for Red Hat - pushed in commit:"67fc394d9ffaed89328c00678559f57418a1511d" in branch 0.24.x ---------------------------------------- Bug #2026: RedHat service provider ignores stop http://projects.reductivelabs.com/issues/2026 Author: immerda Status: Accepted Priority: Normal Assigned to: community Category: service Target version: 0.24.8 Complexity: Unknown Affected version: 0.24.7 Keywords: service, redhat, stop A discussion [1] on the mailinglist let me test the problem. And I can confirm the dicussed problem and would say that the redhat service provider is ignoring any supplied stop command: This is a run with latest head: <pre> # 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 </pre> [1] http://groups.google.com/group/puppet-users/browse_thread/thread/e21a9b1e4621b58 ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
