summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAJ Christensen <aj@junglist.gen.nz>2008-09-24 22:26:04 +1200
committerAJ Christensen <aj@junglist.gen.nz>2008-10-01 09:34:27 +1300
commit922bed81a0504a7fe08f8edafd3419a7906cd03b (patch)
tree6bb0aa8371caafe20678652ba9ea582f422ad315 /lib
parent58e06810b1e172192353d1d8218af5411280bfb7 (diff)
downloadchef-922bed81a0504a7fe08f8edafd3419a7906cd03b.tar.gz
Forgot the (name)
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/service/debian.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/debian.rb b/lib/chef/provider/service/debian.rb
index aae1631543..a8944163f6 100644
--- a/lib/chef/provider/service/debian.rb
+++ b/lib/chef/provider/service/debian.rb
@@ -48,7 +48,7 @@ class Chef
run_command(:command => "update-rc.d #{name} defaults")
end
- def disable_service
+ def disable_service(name)
run_command(:command => "update-rc.d -f #{name} remove")
run_command(:command => "update-rc.d #{name} stop 00 1 2 3 4 5 6 .")
end