summaryrefslogtreecommitdiff
path: root/lib/chef/deprecated.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-06-07 19:14:23 -0700
committerTim Smith <tsmith@chef.io>2018-06-07 19:14:23 -0700
commite3f7926802888836e2a926e55a7c9143d94b8bea (patch)
tree5a3600b5c722420ce25b282bd0e946d1bbc1cc8b /lib/chef/deprecated.rb
parent7124b8cf1ab63cef731b1943c6d8dad2fe131469 (diff)
downloadchef-e3f7926802888836e2a926e55a7c9143d94b8bea.tar.gz
Deprecated the Chef::Provider::Package::Freebsd::Pkg provider
FreeBSD 10 and later have pkgng and Chef will use that instead. This Oct even FreeBSD 10 goes fully EOL so we'll be supporting multiple EOL versions back come April. We should speed up this resource and simplify things by removing the unnecessary provider and the logic that decides which one to use. Signed-off-by: Tim Smith <tsmith@chef.io>
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 792df69f71..904578ff0b 100644
--- a/lib/chef/deprecated.rb
+++ b/lib/chef/deprecated.rb
@@ -278,6 +278,16 @@ class Chef
end
end
+ class FreebsdPkgProvider < Base
+ def id
+ 23
+ end
+
+ def target
+ "freebsd_pkg_provider.html"
+ end
+ end
+
# id 3694 was deleted
# Returned when using the deprecated option on a property