Re: Update puppet in stable
On Wed, 2011-03-09 at 06:59 -0500, micah anderson wrote:
> diff --git a/lib/puppet/provider/service/debian.rb b/lib/puppet/provider/service/debian.rb
> index 3d09e28..f3ab221 100755
> --- a/lib/puppet/provider/service/debian.rb
> +++ b/lib/puppet/provider/service/debian.rb
> @@ -23,7 +23,7 @@ Puppet::Type.type(:service).provide :debian, :parent => :init do
> # Remove the symlinks
> def disable
> update_rc "-f", @resource[:name], "remove"
> - update_rc @resource[:name], "stop", "00", "1", "2", "3", "4", "5", "6", "."
> + update_rc @resource[:name], "disable"
> end
For the record and the benefit of those not following on IRC, there's
some confusion as to whether, and if so how / why, the above snippet and
the corresponding change in the enable code actually work; since
"update-rc.d remove" drops all the symlinks, there shouldn't be anything
left for "update-rc.d {dis,en}able to be working with.
Regards,
Adam
Reply to: