diff options
Diffstat (limited to 'lib/chef/formatters/minimal.rb')
-rw-r--r-- | lib/chef/formatters/minimal.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/chef/formatters/minimal.rb b/lib/chef/formatters/minimal.rb index 94fbfd3818..b005ca4c8f 100644 --- a/lib/chef/formatters/minimal.rb +++ b/lib/chef/formatters/minimal.rb @@ -1,10 +1,7 @@ require "chef/formatters/base" class Chef - module Formatters - - # == 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 @@ -13,18 +10,16 @@ class Chef # if the resource is up to date, skipped by not_if/only_if, or updated, # respectively. class Minimal < Formatters::Base - cli_name(:minimal) cli_name(:min) attr_reader :updated_resources attr_reader :updates_by_resource - def initialize(out, err) super @updated_resources = [] - @updates_by_resource = Hash.new {|h, k| h[k] = []} + @updates_by_resource = Hash.new { |h, k| h[k] = [] } end # Called at the very start of a Chef Run @@ -168,7 +163,7 @@ class Chef end # Called before action is executed on a resource. - def resource_action_start(resource, action, notification_type=nil, notifier=nil) + def resource_action_start(resource, action, notification_type = nil, notifier = nil) end # Called when a resource fails, but will retry. @@ -229,8 +224,6 @@ class Chef # callback for it. def msg(message) end - end end end - |