Method: Chef::Provider#set_updated_status

Defined in:
lib/chef/provider.rb

#set_updated_statusObject



265
266
267
268
269
270
271
272
# File 'lib/chef/provider.rb', line 265

def set_updated_status
  if !resource_updated?
    events.resource_up_to_date(@new_resource, @action)
  else
    events.resource_updated(@new_resource, @action)
    new_resource.updated_by_last_action(true)
  end
end