lib/chef/provider/service/arch.rb in chef-0.8.16 vs lib/chef/provider/service/arch.rb in chef-0.9.0.a3

- old
+ new

@@ -19,12 +19,12 @@ require 'chef/provider/service/init' require 'chef/mixin/command' class Chef::Provider::Service::Arch < Chef::Provider::Service::Init - def initialize(node, new_resource, collection=nil, definitions=nil, cookbook_loader=nil) - super(node, new_resource, collection, definitions, cookbook_loader) + def initialize(new_resource, run_context) + super @init_command = "/etc/rc.d/#{@new_resource.service_name}" end def load_current_resource @@ -104,6 +104,6 @@ end update_daemons(new_daemons) end -end \ No newline at end of file +end