diff options
author | Tim Smith <tsmith@chef.io> | 2021-05-02 16:01:34 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2021-05-02 16:01:34 -0700 |
commit | 947a97d47daa1dce6aa7b91f2057b15451805b25 (patch) | |
tree | 4797b39c119a69c9f0f7d3a97b2c5b77c16d99f0 | |
parent | 7ab9f70dcf99078eeb93269c5154bb25b2dd3f0c (diff) | |
download | ohai-947a97d47daa1dce6aa7b91f2057b15451805b25.tar.gz |
Add Rocky Linux as RHEL platform_family
It's another RHEL clone
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/plugins/linux/platform.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb index 26502139..27cbb264 100644 --- a/lib/ohai/plugins/linux/platform.rb +++ b/lib/ohai/plugins/linux/platform.rb @@ -137,7 +137,7 @@ Ohai.plugin(:Platform) do when /ubuntu/, /debian/, /linuxmint/, /raspbian/, /cumulus/, /kali/, /pop/ # apt-get+dpkg almost certainly goes here "debian" - when /centos/, /redhat/, /oracle/, /almalinux/, /scientific/, /enterpriseenterprise/, /xenserver/, /xcp-ng/, /cloudlinux/, /alibabalinux/, /sangoma/, /clearos/, /parallels/, /ibm_powerkvm/, /nexus_centos/, /bigip/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID" + when /centos/, /redhat/, /oracle/, /almalinux/, /rocky/, /scientific/, /enterpriseenterprise/, /xenserver/, /xcp-ng/, /cloudlinux/, /alibabalinux/, /sangoma/, /clearos/, /parallels/, /ibm_powerkvm/, /nexus_centos/, /bigip/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID" # NOTE: "rhel" should be reserved exclusively for recompiled rhel versions that are nearly perfectly compatible down to the platform_version. # The operating systems that are "rhel" should all be as compatible as rhel7 = centos7 = oracle7 = scientific7 (98%-ish core RPM version compatibility # and the version numbers MUST track the upstream). The appropriate EPEL version repo should work nearly perfectly. Some variation like the |