diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-09-08 17:42:48 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-09-08 17:42:48 -0700 |
commit | 7688807e7b9e690e19e48547064b696ee35dde77 (patch) | |
tree | eaa385b4e899148deacaf5457e7399037122788e /lib/chef/provider.rb | |
parent | f0177df9fdb9f5098ff850c626e86d69ead412ff (diff) | |
download | chef-7688807e7b9e690e19e48547064b696ee35dde77.tar.gz |
Refactoring to support a base package class, that package providers can inherit from
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r-- | lib/chef/provider.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb index b1949631f1..15c0afefdf 100644 --- a/lib/chef/provider.rb +++ b/lib/chef/provider.rb @@ -27,6 +27,10 @@ class Chef @current_resource = nil end + def load_current_resource + raise Chef::Exception::Override, "You must override load_current_resource" + end + def action_nothing Chef::Log.debug("Doing nothing for #{@new_resource.to_s}") true |