summaryrefslogtreecommitdiff
path: root/lib/chef/deprecated.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-12-07 13:42:39 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-12-07 13:42:39 -0800
commite921e921fbbd759b5dc43404b45f1dc198bd7417 (patch)
tree3445709ab2cea81e02ea8fbae436d0656cb1959c /lib/chef/deprecated.rb
parent1c9970d97b043e250b5d000ce2f581f4a7466e72 (diff)
downloadchef-e921e921fbbd759b5dc43404b45f1dc198bd7417.tar.gz
Properly deprecate old Chef::Platform methods
These should have been deprecated formally in 12.5.1 after the Dynamic Provider-Resolver'ing of the internal chef resources was completed. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/deprecated.rb')
-rw-r--r--lib/chef/deprecated.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/chef/deprecated.rb b/lib/chef/deprecated.rb
index de5090a48b..3a988fdfa3 100644
--- a/lib/chef/deprecated.rb
+++ b/lib/chef/deprecated.rb
@@ -156,6 +156,16 @@ class Chef
end
end
+ class ChefPlatformMethods < Base
+ def id
+ 13
+ end
+
+ def target
+ "chef_platform_methods.html"
+ end
+ end
+
class ResourceCloning < Base
def id
3694