summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authorBrandon Raabe <brandocorp@gmail.com>2015-03-20 23:44:12 -0700
committerBrandon Raabe <brandocorp@gmail.com>2015-03-20 23:44:12 -0700
commit57a6de57d60a75749a8345af9807d4abf24b6924 (patch)
treed8bfd1f0d9f67ff82e90037c9eec0a9df4d3cfb3 /lib/chef/event_dispatch
parent19d31707dba909bcb8d24dac6293e9341ccb0b16 (diff)
downloadchef-57a6de57d60a75749a8345af9807d4abf24b6924.tar.gz
new doc formatter event, remove progress bar
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r--lib/chef/event_dispatch/base.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb
index 7274105802..beec37134c 100644
--- a/lib/chef/event_dispatch/base.rb
+++ b/lib/chef/event_dispatch/base.rb
@@ -268,6 +268,15 @@ class Chef
def resource_action_start(resource, action, notification_type=nil, notifier=nil)
end
+ ##
+ # https://github.com/chef/chef/issues/2812
+ #
+ # Called when a progress notification should be sent to the user to
+ # indicate the overall progress of a long running operation, such as
+ # a large file download.
+ def resource_action_progress(resource, current, total, interval)
+ end
+
# Called when a resource fails, but will retry.
def resource_failed_retriable(resource, action, retry_count, exception)
end