From 4a0270dbd292eadb306f3897dc05a2b99145173a Mon Sep 17 00:00:00 2001 From: Travis Rhoden Date: Wed, 18 Feb 2015 22:52:18 -0500 Subject: [PATCH] Enable check_obsoletes for CentOS and RHEL We previously enabled this Yum plugin config flag for Fedora, but recent changes in the EPEL packaging make it necessary for CentOS and RHEL (when using upstream packages) as well. Signed-off-by: Travis Rhoden --- ceph_deploy/hosts/centos/install.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceph_deploy/hosts/centos/install.py b/ceph_deploy/hosts/centos/install.py index e3cd854..ca10d73 100644 --- a/ceph_deploy/hosts/centos/install.py +++ b/ceph_deploy/hosts/centos/install.py @@ -47,6 +47,8 @@ def install(distro, version_kind, version, adjust_repos): if adjust_repos: install_epel(distro) install_yum_priorities(distro) + distro.conn.remote_module.enable_yum_priority_obsoletes() + logger.warning('check_obsoletes has been enabled for Yum priorities plugin') if version_kind in ['stable', 'testing']: key = 'release' else: -- 2.47.3