Class Chef::EventDispatch::Base
In: lib/chef/event_dispatch/base.rb
Parent: Object

EventDispatch::Base

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.

Methods

attribute_file_load_failed   attribute_file_loaded   attribute_load_complete   attribute_load_start   converge_complete   converge_start   cookbook_clean_complete   cookbook_clean_start   cookbook_resolution_complete   cookbook_resolution_failed   cookbook_resolution_start   cookbook_sync_complete   cookbook_sync_failed   cookbook_sync_start   definition_file_load_failed   definition_file_loaded   definition_load_complete   definition_load_start   handler_executed   handlers_completed   handlers_start   library_file_load_failed   library_file_loaded   library_load_complete   library_load_start   lwrp_file_load_failed   lwrp_file_loaded   lwrp_load_complete   lwrp_load_start   msg   node_load_completed   node_load_failed   node_load_start   ohai_completed   provider_requirement_failed   recipe_file_load_failed   recipe_file_loaded   recipe_load_complete   recipe_load_start   recipe_not_found   registration_completed   registration_failed   registration_start   removed_cookbook_file   resource_action_start   resource_bypassed   resource_completed   resource_current_state_load_bypassed   resource_current_state_loaded   resource_failed   resource_failed_retriable   resource_skipped   resource_up_to_date   resource_update_applied   resource_updated   run_completed   run_failed   run_list_expand_failed   run_start   skipping_registration   synchronized_cookbook   updated_cookbook_file   whyrun_assumption  

Public Instance methods

Called when an attribute file fails to load.

Called after the attribute file is loaded

Called when attribute file loading is finished

Called before attribute files are loaded

Called when the converge phase is finished.

Called before convergence starts

Called when cookbook cleaning is finished.

Called before unneeded cookbooks are removed

Called when the cookbook collection is returned from the server.

Called when there is an error getting the cookbook collection from the server.

Called before the cookbook collection is fetched from the server.

Called after all cookbooks have been sync‘d.

Called when an error occurs during cookbook sync

Called before cookbook sync starts

Called when a resource definition file fails to load

Called when a resource definition has been loaded

Called when resource defintions are done loading

Called before resource definitions are loaded

Called after an individual handler has run

Called after all handlers have executed

Called before handlers run

Called when a library file has an error on load.

Called when library file has been loaded

Called when library file loading has finished

Called when library file loading starts

Called after a LWR or LWP file errors on load

Called after a LWR or LWP has been loaded

Called when LWRPs are finished loading

Called when LWRP loading starts

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.

Failed to load node data from the server

Called before Chef client loads the node data from the server

Called right after ohai runs.

Called when an assertion declared by a provider fails

Called after a recipe file fails to load

Called after the recipe has been loaded

Called when recipes have been loaded.

Called before recipes are loaded

Called when a recipe cannot be resolved

Failed to register this client with the server.

About to attempt to register as node_name

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 evaluating a resource that does not support whyrun in whyrun mode

Called when a resource action has been completed

Called when resource current state load is skipped due to the provider not supporting whyrun mode.

Called when a resource fails and will not be retried.

Called when a resource fails, but will retry.

Called when a resource action has been skipped b/c of a conditional

Called when a resource has no converge actions, e.g., it was already correct.

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.

Called after a resource has been completely converged, but only if modifications were made.

Called at the end a successful Chef run.

Called at the end of a failed Chef run.

Error expanding the run list

Called at the very start of a Chef Run

Already have a client key, assuming this node has registered.

Called when cookbook cookbook_name has been sync‘d

Called when an individual file in a cookbook has been updated

Called when a provider makes an assumption after a failed assertion in whyrun mode, in order to allow execution to continue

[Validate]