summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Garami <hron@hron.me>2021-03-09 17:47:37 +0100
committerTim Smith <tsmith84@gmail.com>2021-04-02 09:47:48 -0700
commit0ad437a59cd10524fefdd741945e387287059b37 (patch)
treec17785cb6bf3cf4059f372d190e5407ad052e30b
parentd0fa0ee987081543c076083cbd93156f98d504f1 (diff)
downloadohai-0ad437a59cd10524fefdd741945e387287059b37.tar.gz
Add support for Sangoma Linux
-rw-r--r--lib/ohai/plugins/linux/platform.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb
index 3966ae7a..9dd1cef1 100644
--- a/lib/ohai/plugins/linux/platform.rb
+++ b/lib/ohai/plugins/linux/platform.rb
@@ -137,7 +137,7 @@ Ohai.plugin(:Platform) do
when /debian/, /ubuntu/, /linuxmint/, /raspbian/, /cumulus/, /kali/, /pop/
# apt-get+dpkg almost certainly goes here
"debian"
- when /oracle/, /centos/, /redhat/, /almalinux/, /scientific/, /enterpriseenterprise/, /xcp/, /xenserver/, /cloudlinux/, /ibm_powerkvm/, /parallels/, /nexus_centos/, /clearos/, /bigip/, /alibabalinux/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID"
+ when /oracle/, /centos/, /redhat/, /almalinux/, /scientific/, /enterpriseenterprise/, /xcp/, /xenserver/, /cloudlinux/, /ibm_powerkvm/, /parallels/, /nexus_centos/, /clearos/, /bigip/, /alibabalinux/, /sangoma/ # 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