diff options
author | Thom May <thom@chef.io> | 2016-03-03 11:37:44 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-03-04 14:47:58 +0000 |
commit | ff539423f067ee83c07dcf73cbf688c6a07f64ae (patch) | |
tree | 5472f234d9df0892df49313f8407b4c003fab1fe /lib/chef/resource/remote_file.rb | |
parent | 788ec4597c9f1517c26d85703bdc79ea01e5ff53 (diff) | |
download | chef-ff539423f067ee83c07dcf73cbf688c6a07f64ae.tar.gz |
Enable progress output to be configuredtm/remote_file_download_progress
Add tests around progress output and tidy up
Diffstat (limited to 'lib/chef/resource/remote_file.rb')
-rw-r--r-- | lib/chef/resource/remote_file.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/chef/resource/remote_file.rb b/lib/chef/resource/remote_file.rb index b615297c24..321c3fcf4d 100644 --- a/lib/chef/resource/remote_file.rb +++ b/lib/chef/resource/remote_file.rb @@ -122,7 +122,7 @@ class Chef ) end - def show_progress(args=nil) + def show_progress(args = nil) set_or_return( :show_progress, args, @@ -131,15 +131,6 @@ class Chef ) end - def progress_interval(args=nil) - set_or_return( - :progress_interval, - args, - :default => 10, - :equal_to => [1, 5, 10, 20, 25] - ) - end - private include Chef::Mixin::Uris |