summaryrefslogtreecommitdiff
path: root/lib/chef/provider
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-09-24 22:26:04 +1200
commit169f02ef3cfaf9a15c5fc9e339a099223330b78a (patch)
tree71b12a53fe489ec8994ae26ae74c91916e4be3c4 /lib/chef/provider
parentab7d39ca7039bf449ca3e7daab17761d23e1b58c (diff)
downloadchef-169f02ef3cfaf9a15c5fc9e339a099223330b78a.tar.gz
Forgot the (name)
Diffstat (limited to 'lib/chef/provider')
-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