summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-03-03 10:11:29 +0000
committerThom May <thom@chef.io>2016-03-03 10:11:29 +0000
commit788ec4597c9f1517c26d85703bdc79ea01e5ff53 (patch)
tree23364a04f0906df0697565ba84f9163b48a61298 /lib/chef/event_dispatch
parenta4d98365c1d68d7a24fba62783538951d2bbd2e0 (diff)
parent9c7bc8730af9ddba70d5095301517ae9e07e5024 (diff)
downloadchef-788ec4597c9f1517c26d85703bdc79ea01e5ff53.tar.gz
Merge branch 'remote-file-download-progress' of https://github.com/brandocorp/chef into tm/remote_file_download_progress
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r--lib/chef/event_dispatch/base.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb
index a6a18718c2..65cb519dc7 100644
--- a/lib/chef/event_dispatch/base.rb
+++ b/lib/chef/event_dispatch/base.rb
@@ -297,6 +297,12 @@ class Chef
# - resource_completed
#
+ # 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 before action is executed on a resource.
def resource_action_start(resource, action, notification_type = nil, notifier = nil)
end