summaryrefslogtreecommitdiff
path: root/chef-utils
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-28 19:15:22 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-28 19:15:22 -0700
commit362d7f12a4f01e7edf68d5501fece6511bd49a67 (patch)
treee0580e45e21498c257f45b373c366b1f4f6dba33 /chef-utils
parent6d24e6a0c44180df372484c5906810e70e41e818 (diff)
downloadchef-362d7f12a4f01e7edf68d5501fece6511bd49a67.tar.gz
Remove opensolaris as well
https://en.wikipedia.org/wiki/OpenSolaris Latest release 2009.06 / June 1, 2009; 11 years ago "OpenSolaris is a discontinued open source computer operating system based on Solaris and created by Sun Microsystems." Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-utils')
-rw-r--r--chef-utils/README.md4
-rw-r--r--chef-utils/lib/chef-utils/dsl/platform_family.rb2
2 files changed, 2 insertions, 4 deletions
diff --git a/chef-utils/README.md b/chef-utils/README.md
index 00173e6eed..d3088a7bc2 100644
--- a/chef-utils/README.md
+++ b/chef-utils/README.md
@@ -43,7 +43,7 @@ Super Families:
* `fedora_based?` - anything of fedora lineage (fedora, redhat, centos, amazon, pidora, etc)
* `rpm_based?`- all `fedora_based` systems plus `suse` and any future linux distros based on RPM (excluding AIX)
-* `solaris_based?`- all solaris-derived systems (opensolaris, omnios, smartos, etc)
+* `solaris_based?`- all solaris-derived systems (omnios, smartos, openindiana, etc)
* `bsd_based?`- all bsd-derived systems (freebsd, netbsd, openbsd, dragonflybsd).
### Platform Helpers
@@ -67,7 +67,6 @@ The Platform helpers provide an alternative to comparing values from `node['plat
* `omnios_platform?`
* `openbsd_platform?`
* `openindiana_platform?`
-* `opensolaris_platform?`
* `opensuse_platform?`
* `oracle_platform?`
* `raspbian_platform?`
@@ -87,7 +86,6 @@ For compatibility with old chef-sugar code the following aliases work for backwa
* `linuxmint?`
* `omnios?`
* `openindiana?`
-* `opensolaris?`
* `opensuse?`
* `oracle?`
* `raspbian?`
diff --git a/chef-utils/lib/chef-utils/dsl/platform_family.rb b/chef-utils/lib/chef-utils/dsl/platform_family.rb
index 422f36fc2f..d666229688 100644
--- a/chef-utils/lib/chef-utils/dsl/platform_family.rb
+++ b/chef-utils/lib/chef-utils/dsl/platform_family.rb
@@ -320,7 +320,7 @@ module ChefUtils
# @return [Boolean]
#
def solaris_based?(node = __getnode)
- %w{solaris2 smartos omnios openindiana opensolaris}.include?(node["platform"])
+ %w{solaris2 smartos omnios openindiana}.include?(node["platform"])
end
# All of the BSD-lineage.