From e252ac8bb242056cd26094163d13861184a79800 Mon Sep 17 00:00:00 2001 From: AJ Christensen Date: Fri, 26 Sep 2008 15:31:47 +1200 Subject: Working towards supports[:has_status] etc. --- lib/chef/provider/service.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/chef/provider/service.rb') diff --git a/lib/chef/provider/service.rb b/lib/chef/provider/service.rb index ee829e6df7..716ea420d2 100644 --- a/lib/chef/provider/service.rb +++ b/lib/chef/provider/service.rb @@ -30,6 +30,7 @@ class Chef end def load_current_resource + # Service should be inherited by the Service providers and then super this load_current_resource to get @current_resource. @current_resource = Chef::Resource::Service.new(@new_resource.name) @current_resource.service_name(@new_resource.service_name) end -- cgit v1.2.1