Class Chef::Formatters::Minimal
In: lib/chef/formatters/minimal.rb
Parent: Formatters::Base

Formatters::Minimal

Shows the progress of the chef run by printing single characters, and displays a summary of updates at the conclusion of the run. For events that don‘t have meaningful status information (loading a file, syncing a cookbook) a dot is printed. For resources, a dot, ‘S’ or ‘U’ is printed if the resource is up to date, skipped by not_if/only_if, or updated, respectively.

Methods

Attributes

updated_resources  [R] 
updates_by_resource  [R] 

Public Class methods

Public Instance methods

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 before cookbook sync starts

Called after a file in a cookbook is loaded.

Called after an individual handler has run

Called after all handlers have executed

Called before handlers run

Called when cookbook 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.

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 right after ohai runs.

Called when recipes have been loaded.

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 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.

Called at the end of the Chef run.

called at the end of a failed run

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

[Validate]