From 97aaf5bbcdfd0810722b123bdc67e883a7ca8077 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 24 Oct 2014 10:45:43 -0700 Subject: Chef-12 RC Provider Resolver makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping. --- lib/chef/provider/cookbook_file.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/chef/provider/cookbook_file.rb') diff --git a/lib/chef/provider/cookbook_file.rb b/lib/chef/provider/cookbook_file.rb index 26d6ebf1d9..b501a9b41d 100644 --- a/lib/chef/provider/cookbook_file.rb +++ b/lib/chef/provider/cookbook_file.rb @@ -24,6 +24,8 @@ class Chef class Provider class CookbookFile < Chef::Provider::File + provides :cookbook_file + extend Chef::Deprecation::Warnings include Chef::Deprecation::Provider::CookbookFile add_deprecation_warnings_for(Chef::Deprecation::Provider::CookbookFile.instance_methods) -- cgit v1.2.1