summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-28 17:18:00 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-29 10:06:53 -0700
commit397371a923359642d95bed0ecde3fbb276e828ce (patch)
tree25a53aaf9115f04a3c9d38b0c66f43608cbc7b8b
parent450a20403a4fe925ad0223c302ec2e3d31cc5888 (diff)
downloadchef-solaris_package.tar.gz
Remove the provides :package for solaris_packagesolaris_package
This only worked on Solaris 5.10, which we don't support anymore. Just nuke the line entirely Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/provider/package/solaris.rb1
-rw-r--r--lib/chef/resource/solaris_package.rb1
2 files changed, 0 insertions, 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."