From e3f7926802888836e2a926e55a7c9143d94b8bea Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 7 Jun 2018 19:14:23 -0700 Subject: 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 --- lib/chef/deprecated.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/chef/deprecated.rb') 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 -- cgit v1.2.1