lib/ohai/plugins/linux/platform.rb in ohai-16.6.5 vs lib/ohai/plugins/linux/platform.rb in ohai-16.7.18

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true # # Author:: Adam Jacob (<adam@chef.io>) # Copyright:: Copyright (c) Chef Software Inc. # License:: Apache License, Version 2.0 # @@ -130,10 +131,10 @@ # # @returns [String] platform_family value # def platform_family_from_platform(plat) case plat - when /debian/, /ubuntu/, /linuxmint/, /raspbian/, /cumulus/, /kali/ + when /debian/, /ubuntu/, /linuxmint/, /raspbian/, /cumulus/, /kali/, /pop/ # apt-get+dpkg almost certainly goes here "debian" when /oracle/, /centos/, /redhat/, /scientific/, /enterpriseenterprise/, /xcp/, /xenserver/, /cloudlinux/, /ibm_powerkvm/, /parallels/, /nexus_centos/, /clearos/, /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