Class | Chef::EventDispatch::Base |
In: |
lib/chef/event_dispatch/base.rb
|
Parent: | Object |
EventDispatch::Base is a completely abstract base class that defines the API used by both the classes that collect event information and those that process them.
An uncategorized message. This supports the case that a user needs to pass output that doesn‘t fit into one of the callbacks above. Note that there‘s no semantic information about the content or importance of the message. That means that if you‘re using this too often, you should add a callback for it.
Called after Chef client has loaded the node data. Default and override attrs from roles have been computed, but not yet applied. Normal attrs from JSON have been added to the node.
Called after the file at path is removed. It may be removed if the cookbook containing it was removed from the run list, or if the file was removed from the cookbook.
Called when a change has been made to a resource. May be called multiple times per resource, e.g., a file may have its content updated, and then its permissions updated.