Actions
Feature #1513
closedRFE: more granular support for RedHat Enterprise Linux
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Description
Since RHEL has several branched distros within it, it would be helpful to differentiate between them. For example, RHEL Server should be a different OS/distro from RHEL Workstation, etc.
Seems that parsing facter's values for lsbdistid or lsbdistdescription would be the easiest method to go about this.
Added by Marek Hulán about 5 years ago
Actions
Fixes #1513 - distinguish between RHEL 7 Server and Workstation
When facts are received we parse them and create/assign the operating
system of a host accordingly. We didn't correctly detect the right RHEL
7 distribution and considered every RHEL 7 as Server. For people having
both variants in their infrastructure, this caused problems.
With this patch, RHEL 7 Workstations is recognized as
RedHat_Workstation, the OS can't contain spaces. We don't have other
attribute to distinguish these distributions and it's not worth
introducing it as a separate attribute, since this concept was replaced
by system purpose in RHEL 8.