diff options
author | Thom May <thom@may.lt> | 2016-03-15 21:05:49 +0000 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-03-15 21:05:49 +0000 |
commit | c1a389c2a8452e9b796aa1d34c4d9e51f4af30c7 (patch) | |
tree | ed2cc9b0c226a21ba3b9ab6b101fa76cb2db4891 /lib/chef/event_dispatch | |
parent | 47cd0cb9f2c14ced5a17ea0d1da34b9aeaaf36d8 (diff) | |
parent | ff539423f067ee83c07dcf73cbf688c6a07f64ae (diff) | |
download | chef-c1a389c2a8452e9b796aa1d34c4d9e51f4af30c7.tar.gz |
Merge pull request #4658 from chef/tm/remote_file_download_progress11.9
Remote file download progress
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r-- | lib/chef/event_dispatch/base.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb index b3271a139a..6c6b2fa3bb 100644 --- a/lib/chef/event_dispatch/base.rb +++ b/lib/chef/event_dispatch/base.rb @@ -344,6 +344,12 @@ class Chef def resource_update_applied(resource, action, update) end + # 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_update_progress(resource, current, total, interval) + end + # Called when a resource fails, but will retry. def resource_failed_retriable(resource, action, retry_count, exception) end |