Parent

Files

Class/Module Index [+]

Quicksearch

Chef::Provider::ResourceUpdate

{

"run_id" : "1000",
"resource" : {
     "type" : "file",
     "name" : "/etc/passwd",
     "start_time" : "2012-01-09T08:15:30-05:00",
     "end_time" : "2012-01-09T08:15:30-05:00",
     "status" : "modified",
     "initial_state" : "exists",
     "final_state" : "modified",
     "before" : {
          "group" : "root",
          "owner" : "root",
          "checksum" : "xyz"
     },
     "after" : {
          "group" : "root",
          "owner" : "root",
          "checksum" : "abc"
     },
     "delta" : "escaped delta goes here"
},
"event_data" : ""

}

Attributes

duration[RW]
event_data[RW]
final_properties[RW]
final_state[RW]
initial_properties[RW]
initial_state[RW]
name[RW]
status[RW]
type[RW]

Public Instance Methods

initial_state_from_resource(resource) click to toggle source
# File lib/chef/provider/resource_update.rb, line 42
def initial_state_from_resource(resource)
  @initial_properties = resource.to_hash
end
updated_state_from_resource(resource) click to toggle source
# File lib/chef/provider/resource_update.rb, line 46
def updated_state_from_resource(resource)
  @final_properties = resource.to_hash
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.