Skip to content

Instantly share code, notes, and snippets.

@zzondlo
Forked from jtimberman/updated_resources.rb
Created February 23, 2012 06:02
Show Gist options
  • Save zzondlo/1890939 to your computer and use it in GitHub Desktop.
Save zzondlo/1890939 to your computer and use it in GitHub Desktop.
Lists the resources updated
module SimpleReport
class UpdatedResources < Chef::Handler
def report
Chef::Log.info "Resources updated this run:"
run_status.updated_resources.each {|r| Chef::Log.info " #{r.to_s}"}
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment