summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Davis <iennae@gmail.com>2017-05-30 22:37:43 -0700
committerTim Smith <tsmith@chef.io>2017-06-10 19:25:22 -0700
commit7822cae9d3d4d3f14267c051b5c8c67bd9de1156 (patch)
tree95d256758f406ca42c05987374e8a4eb28c0b978
parentb147c3dad2a0bcb7ae2f30adfd8b1f271d24455a (diff)
downloadohai-7822cae9d3d4d3f14267c051b5c8c67bd9de1156.tar.gz
Add clearos platform to RHEL platform_family
Signed-off-by: Jennifer Davis <iennae@gmail.com>
-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 fc9215c4..ae6d6589 100644
--- a/lib/ohai/plugins/linux/platform.rb
+++ b/lib/ohai/plugins/linux/platform.rb
@@ -107,7 +107,7 @@ Ohai.plugin(:Platform) do
case platform
when /debian/, /ubuntu/, /linuxmint/, /raspbian/, /cumulus/
"debian"
- when /oracle/, /centos/, /redhat/, /scientific/, /enterpriseenterprise/, /xenserver/, /cloudlinux/, /ibm_powerkvm/, /parallels/, /nexus_centos/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID"
+ when /oracle/, /centos/, /redhat/, /scientific/, /enterpriseenterprise/, /xenserver/, /cloudlinux/, /ibm_powerkvm/, /parallels/, /nexus_centos/, /clearos/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID"
"rhel"
when /amazon/
"amazon"