# File lib/chef/provider/service.rb, line 37 def load_new_resource_state # If the user didn't specify a change in enabled state, # it will be the same as the old resource if ( @new_resource.enabled.nil? ) @new_resource.enabled(@current_resource.enabled) end if ( @new_resource.running.nil? ) @new_resource.running(@current_resource.running) end end