Revision 4e205ba1
Added by Ewoud Kohl van Wijngaarden 8 months ago
app/services/katello/rhsm_fact_parser.rb | ||
---|---|---|
module Katello
|
||
REDHAT_ATOMIC_HOST_DISTRO_NAME = "Red Hat Enterprise Linux Atomic Host".freeze
|
||
REDHAT_ATOMIC_HOST_OS = "RedHat_Enterprise_Linux_Atomic_Host".freeze
|
||
|
||
class RhsmFactParser < ::FactParser
|
||
def architecture
|
||
name = facts['lscpu.architecture'] || facts['uname.machine']
|
||
... | ... | |
end
|
||
|
||
def distribution_to_puppet_os(name)
|
||
return REDHAT_ATOMIC_HOST_OS if name == REDHAT_ATOMIC_HOST_DISTRO_NAME
|
||
|
||
case name.downcase
|
||
when /red\s*hat/
|
||
'RedHat'
|
Also available in: Unified diff
Fixes #36723 - Remove Fedora/Red Hat Atomic related code
As far as I can see this has been EOL for a few years now. Red Hat
Atomic went EOL in 2021.