Issue #5908 has been updated by micah -.

In the debian bug, the proposed solution comes to a very similar conclusion, 
there the suggestion is to simply remove this line:

<pre>
update_rc "-f", @resource[:name], "remove"
</pre>

before "enable" and replace it with a call to update-rc.d' with 'defaults' as 
this will handle the case when then links were previously removed and it will 
not do anything if the links exist, but it will install default links if they 
do not exist.

If I am correct in understanding the proposed patch, it is essentially doing 
the same as suggested in the debian bug, but being more careful in that it 
tests for the sysv-rc version before going ahead with this.

I dont know what the right process is for what the next state that this issue 
should move to, but I agree with Nigel that this should no longer be "Needs 
More Information" at this point.
----------------------------------------
Bug #5908: Service Provider on Debian unable to disable services: now uses 
update-rc.d enable/disable
https://projects.puppetlabs.com/issues/5908

Author: Stig Sandbeck Mathisen
Status: Needs More Information
Priority: Urgent
Assignee: 
Category: service
Target version: 2.6.x
Affected Puppet version: 0.25.4
Keywords: provider, debian, service, update-rc.d
Branch: https://github.com/MaxMartin/puppet/tree/ticket/2.6.next/5908-update-rc


The debian provider of the service type now use update-rc.d "enable" and 
"disable", and lets "insserv" select which priorities to use for the symlinks.  
This is also true for non-upstart init scripts on Ubuntu.

The following commit, contributed by Martin F Krafft, can be merged to fix this 
issue:

Repo: git://git.debian.org/pkg-puppet/puppet.git

Commit: 83d88e218b5f8c940c4f2cc5ba33d3e976ed66bf

Gitweb: 
http://git.debian.org/?p=pkg-puppet/puppet.git;a=commit;h=83d88e218b5f8c940c4f2cc5ba33d3e976ed66bf




-- 
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://projects.puppetlabs.com/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