From 397371a923359642d95bed0ecde3fbb276e828ce Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 28 Oct 2020 17:18:00 -0700 Subject: Remove the provides :package for solaris_package This only worked on Solaris 5.10, which we don't support anymore. Just nuke the line entirely Signed-off-by: Tim Smith --- lib/chef/provider/package/solaris.rb | 1 - lib/chef/resource/solaris_package.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/chef/provider/package/solaris.rb b/lib/chef/provider/package/solaris.rb index 95a37a5ecc..7094428236 100644 --- a/lib/chef/provider/package/solaris.rb +++ b/lib/chef/provider/package/solaris.rb @@ -26,7 +26,6 @@ class Chef include Chef::Mixin::GetSourceFromPackage - provides :package, platform: "solaris2", platform_version: "< 5.11" provides :solaris_package # def initialize(*args) diff --git a/lib/chef/resource/solaris_package.rb b/lib/chef/resource/solaris_package.rb index 9c5d3e330b..381c62a45b 100644 --- a/lib/chef/resource/solaris_package.rb +++ b/lib/chef/resource/solaris_package.rb @@ -25,7 +25,6 @@ class Chef unified_mode true provides :solaris_package - provides :package, os: "solaris2", platform_family: "solaris2", platform_version: "<= 5.10" description "Use the **solaris_package** resource to manage packages on the Solaris platform." -- cgit v1.2.1