Method: Chef::ActionCollection#resource_current_state_loaded

Defined in:
lib/chef/action_collection.rb

#resource_current_state_loaded(new_resource, action, current_resource) ⇒ Object

Hook called after a current resource is loaded. If load_current_resource fails, this hook will not be called and current_resource will be nil, and the resource_failed hook will be called.

(see EventDispatch::Base#)



166
167
168
# File 'lib/chef/action_collection.rb', line 166

def resource_current_state_loaded(new_resource, action, current_resource)
  current_record.current_resource = current_resource
end