diff options
author | AJ Christensen <aj@junglist.gen.nz> | 2008-09-25 03:28:01 +1200 |
---|---|---|
committer | AJ Christensen <aj@junglist.gen.nz> | 2008-09-25 03:28:01 +1200 |
commit | 904ae12c1303a5cdc08b9f972ef707a922b03f15 (patch) | |
tree | 812eb1dbf09eb366585caf7c36feca612c85fcb0 /lib/chef/platform.rb | |
parent | 169f02ef3cfaf9a15c5fc9e339a099223330b78a (diff) | |
download | chef-904ae12c1303a5cdc08b9f972ef707a922b03f15.tar.gz |
Working Debian service provider for enabling/disabling services.
TODO: Base and Init providers that support status and start/stopping init scripts.
Diffstat (limited to 'lib/chef/platform.rb')
-rw-r--r-- | lib/chef/platform.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/platform.rb b/lib/chef/platform.rb index 0345445fbe..c6c4a7580c 100644 --- a/lib/chef/platform.rb +++ b/lib/chef/platform.rb @@ -27,6 +27,7 @@ class Chef :ubuntu => { :default => { :package => Chef::Provider::Apt, + :service => Chef::Provider::Debian, } }, :centos => {}, @@ -43,6 +44,7 @@ class Chef :sysctl => Chef::Provider::Sysctl, :execute => Chef::Provider::Execute, :script => Chef::Provider::Script, + :service => Chef::Provider::Init, :perl => Chef::Provider::Script, :python => Chef::Provider::Script, :ruby => Chef::Provider::Script, @@ -190,4 +192,4 @@ class Chef end end -end
\ No newline at end of file +end |