]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
Enable check_obsoletes for CentOS and RHEL 261/head
authorTravis Rhoden <trhoden@redhat.com>
Thu, 19 Feb 2015 03:52:18 +0000 (22:52 -0500)
committerTravis Rhoden <trhoden@redhat.com>
Thu, 19 Feb 2015 03:52:18 +0000 (22:52 -0500)
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 <trhoden@redhat.com>
ceph_deploy/hosts/centos/install.py

index e3cd854b0364af50a35f583329af76fbe53a743d..ca10d7384bc798f9b8ed273a853021de571ca682 100644 (file)
@@ -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: