diff options
author | AJ Christensen <aj@junglist.gen.nz> | 2008-09-24 19:00:35 +1200 |
---|---|---|
committer | AJ Christensen <aj@junglist.gen.nz> | 2008-09-24 19:00:35 +1200 |
commit | 7e3072aa74d3fa6c03f1b61deba9525fa261bc39 (patch) | |
tree | d35ea617ab7d641877265d90a1af8a5d9f66d345 /lib/chef/provider | |
parent | 41c448134d50d885be5d56ae55ba1dabbe22272e (diff) | |
download | chef-7e3072aa74d3fa6c03f1b61deba9525fa261bc39.tar.gz |
Boilerplate for Service resource and Debian provider
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/service.rb | 29 | ||||
-rw-r--r-- | lib/chef/provider/service/debian.rb | 17 |
2 files changed, 46 insertions, 0 deletions
diff --git a/lib/chef/provider/service.rb b/lib/chef/provider/service.rb new file mode 100644 index 0000000000..71bd55c7b4 --- /dev/null +++ b/lib/chef/provider/service.rb @@ -0,0 +1,29 @@ +# +# Author:: Adam Jacob (<adam@hjksolutions.com>) +# Copyright:: Copyright (c) 2008 HJK Solutions, LLC +# License:: Apache License, Version 2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +require File.join(File.dirname(__FILE__), "..", "mixin", "command") + +class Chef + class Provider + class Service < Chef::Provider + + include Chef::Mixin::Command + + end + end +end diff --git a/lib/chef/provider/service/debian.rb b/lib/chef/provider/service/debian.rb new file mode 100644 index 0000000000..96f2b6b310 --- /dev/null +++ b/lib/chef/provider/service/debian.rb @@ -0,0 +1,17 @@ +# +# Author:: AJ Christensen (<aj@hjksolutions.com>) +# Copyright:: Copyright (c) 2008 HJK Solutions, LLC +# License:: Apache License, Version 2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# |