[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/2.6.3-1-22-gc737ae5
Stig Sandbeck Mathisen
ssm at debian.org
Sat Jan 15 18:17:29 UTC 2011
The following commit has been merged in the master branch:
commit c737ae5a1ab157cbb1b7e2f52b55e34f4187a4b0
Author: martin f krafft <madduck at debian.org>
Date: Sat Jan 15 18:57:53 2011 +0100
Use update-rc.d enable/disable in the "debian" provider in the "service" type (Closes: #573551)
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
def enabled?
@@ -43,6 +43,6 @@ Puppet::Type.type(:service).provide :debian, :parent => :init do
def enable
update_rc "-f", @resource[:name], "remove"
- update_rc @resource[:name], "defaults"
+ update_rc @resource[:name], "enable"
end
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list