From: Travis Rhoden Date: Thu, 19 Feb 2015 03:52:18 +0000 (-0500) Subject: Enable check_obsoletes for CentOS and RHEL X-Git-Tag: v1.5.22-rc1~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4a0270dbd292eadb306f3897dc05a2b99145173a;p=ceph-deploy.git 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 --- 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: