summaryrefslogtreecommitdiff
path: root/lib/chef/provider/cookbook_file.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2017-03-08 12:13:59 +0000
committerThom May <thom@chef.io>2017-03-08 12:20:52 +0000
commitfd635b939f477944f1a4ce2b475c66228cd401a5 (patch)
treeaccf0113ecc04517fdb8df9f176dd795ef767952 /lib/chef/provider/cookbook_file.rb
parent7a5f81001ce4f53a96062d2202307516f4c0948f (diff)
downloadchef-fd635b939f477944f1a4ce2b475c66228cd401a5.tar.gz
Remove all 11 era deprecationstm/reremove_11_deprecations
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/provider/cookbook_file.rb')
-rw-r--r--lib/chef/provider/cookbook_file.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/provider/cookbook_file.rb b/lib/chef/provider/cookbook_file.rb
index dc900d871b..92383fd5fa 100644
--- a/lib/chef/provider/cookbook_file.rb
+++ b/lib/chef/provider/cookbook_file.rb
@@ -17,8 +17,6 @@
#
require "chef/provider/file"
-require "chef/deprecation/provider/cookbook_file"
-require "chef/deprecation/warnings"
class Chef
class Provider
@@ -26,10 +24,6 @@ class Chef
provides :cookbook_file
- extend Chef::Deprecation::Warnings
- include Chef::Deprecation::Provider::CookbookFile
- add_deprecation_warnings_for(Chef::Deprecation::Provider::CookbookFile.instance_methods)
-
def initialize(new_resource, run_context)
@content_class = Chef::Provider::CookbookFile::Content
super