Details
-
Type:
Story
-
Status: To Do
-
Priority:
(None)
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: cf-agent, Environment Detection
-
Labels:None
Description
Historically the redhat class has been defined on actual Red Hat hosts, but also on many of it's derivatives, e.g. CentOS. The MPF (Masterfiles Policy Framework) defines redhat_pure to aid in disambiguation between actual Red Hat and one of it's derivatives.
It would be nice if this redhat_pure class were defined automatically, instead of needing extra policy for this.
Notes:
- Red Hat 7, introduced systemd and the /etc/os-release file
- On Red Hat systems /etc/os-release has ID set to rhel, ref https://github.com/cfengine/core/wiki/ReferenceFiles#redhat-8
- Since
CFE-1881(CFEngine 3.11.0) /etc/os-release has been used for classification
So, since CFEngine 3.11.0, Red Hat systems will have the redhat and rhel hard classes.