summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file.rb
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-05-15 23:01:02 -0700
committersersut <serdar@opscode.com>2013-05-15 23:01:02 -0700
commit3832d179e32c00d8f82d76a18ee93874647f8074 (patch)
treea95255ba40b528a974cba23ba4211765bff7f8dc /lib/chef/provider/remote_file.rb
parent0bbecf0d06a7f0354b00d5bb71e0e7a9ed72de59 (diff)
downloadchef-3832d179e32c00d8f82d76a18ee93874647f8074.tar.gz
Deprecated methods for remote_file provider.
Diffstat (limited to 'lib/chef/provider/remote_file.rb')
-rw-r--r--lib/chef/provider/remote_file.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/provider/remote_file.rb b/lib/chef/provider/remote_file.rb
index e14d678743..3d4d2ee599 100644
--- a/lib/chef/provider/remote_file.rb
+++ b/lib/chef/provider/remote_file.rb
@@ -18,11 +18,17 @@
#
require 'chef/provider/file'
+require 'chef/deprecation/provider/remote_file'
+require 'chef/deprecation/warnings'
class Chef
class Provider
class RemoteFile < Chef::Provider::File
+ extend Chef::Deprecation::Warnings
+ include Chef::Deprecation::Provider::RemoteFile
+ add_deprecation_warnings_for(Chef::Deprecation::Provider::RemoteFile.instance_methods)
+
def initialize(new_resource, run_context)
@content_class = Chef::Provider::RemoteFile::Content
super