Force pkg_mgr yum for rhel < 8, dnf for rhel > 8 (#54010)

* Force pkg_mgr yum for rhel < 8, dnf for rhel > 8

This solves the scenario in which someone using RHEL or a clone
decides to install dnf, which can break their system in certain ways
under certain scenarios (a dnf bug that's been resolved upstream but
left user systems broken happened recently). Currently Red Hat
provides dnf to RHEL7 in an optional Tech Preview Channel under the
YUM4 branding, as does the CentOS Content Management SIG. There may
be others in the ecosystem I'm not familiar with.

Signed-off-by: Adam Miller <admiller@redhat.com>

* add changelog

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller
2019-04-09 14:32:00 -05:00
committed by GitHub
parent 5285044a7a
commit d53c3cd4f2
2 changed files with 16 additions and 10 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- facts - ensure that the default package manager for RHEL < 8 is yum, and dnf for newer