Skip to content

Commit

Permalink
Merge pull request #193 from alexzorin/508-cloudlinux
Browse files Browse the repository at this point in the history
[OHAI-508] Detect CloudLinux as RHEL platform_family
  • Loading branch information
lamont-granquist committed Jan 9, 2014
2 parents 0ae0fb1 + d35b1e1 commit a86fa97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ohai/plugins/linux/platform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def get_redhatish_version(contents)
platform_family "debian"
when /fedora/
platform_family "fedora"
when /oracle/, /centos/, /redhat/, /scientific/, /enterpriseenterprise/, /amazon/, /xenserver/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID"
when /oracle/, /centos/, /redhat/, /scientific/, /enterpriseenterprise/, /amazon/, /xenserver/, /cloudlinux/ # Note that 'enterpriseenterprise' is oracle's LSB "distributor ID"
platform_family "rhel"
when /suse/
platform_family "suse"
Expand Down

0 comments on commit a86fa97

Please sign in to comment.