Issue #2525 has been updated by Luke Kanies.
Status changed from Closed to Re-opened
Priority changed from Normal to High
This wasn't the right fix. The code should actually just look like:
<pre>
def restartcmd
[command(:service), @resource[:name], "restart"]
end
</pre>
No call to 'super'.
I think this will fix #2552.
----------------------------------------
Bug #2525: Service types not restarting with 0.25.0rc1
http://projects.reductivelabs.com/issues/2525
Author: John A. Barbuto
Status: Re-opened
Priority: High
Assigned to: James Turnbull
Category: service
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0rc1
Keywords:
Services are failing to restart with the following error (using sshd as an
example):
<pre>
Failed to call refresh on Service[sshd]: super: no superclass method
`restartcmd'
</pre>
This appears related to #2481. Not sure, but I think a @restartcmd@ method is
needed in _provider/service/init.rb_
--
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
-~----------~----~----~----~------~----~------~--~---