summaryrefslogtreecommitdiff
path: root/lib/chef/resource/remote_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/remote_file.rb')
-rw-r--r--lib/chef/resource/remote_file.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/chef/resource/remote_file.rb b/lib/chef/resource/remote_file.rb
index 595280a583..4a1d1c6cff 100644
--- a/lib/chef/resource/remote_file.rb
+++ b/lib/chef/resource/remote_file.rb
@@ -122,6 +122,15 @@ class Chef
)
end
+ def show_progress(args = nil)
+ set_or_return(
+ :show_progress,
+ args,
+ :default => false,
+ :kind_of => [ TrueClass, FalseClass ]
+ )
+ end
+
private
include Chef::Mixin::Uris