insights-core
insights-core copied to clipboard
Improve parsers/redhat_release to detect CentOS correctly
All Pull Requests:
Check all that apply:
- [Y] Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
- [Y] Is this PR to correct an issue?
- [N] Is this PR an enhancement?
Complete Description of Additions/Changes:
The RedhatRelease parser already does a basic check of the operating system to set flags for whether this is a RHEL, CentOS, Fedora or unknown system. We need to test that these are handled correctly within the RedHatRelease combiner.
Part of this work simplifies the short product code detection in the RedhatRelease parser, which we now advertise as a property.
Additionally, RHEV 3.5 now correctly detects as a RHEL operating system.