# File lib/chef/resource/remote_file.rb, line 63 def provider if absolute_uri?(source) Chef::Provider::RemoteFile else Chef::Log.warn("remote_file is deprecated for fetching files from cookbooks. Use cookbook_file instead") Chef::Log.warn("From #{self.to_s} on #{source_line}") Chef::Provider::CookbookFile end end