From 43d48b6b69ba3d533366ce56a95b43e5156c41b9 Mon Sep 17 00:00:00 2001 From: Travis Rhoden Date: Tue, 4 Aug 2015 13:59:04 -0700 Subject: [PATCH] [RM-12477] fedora: priorities plugin only on Yum Fixes: #12477 Signed-off-by: Travis Rhoden --- ceph_deploy/hosts/fedora/install.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ceph_deploy/hosts/fedora/install.py b/ceph_deploy/hosts/fedora/install.py index 0e3a034..f7fa546 100644 --- a/ceph_deploy/hosts/fedora/install.py +++ b/ceph_deploy/hosts/fedora/install.py @@ -22,10 +22,11 @@ def install(distro, version_kind, version, adjust_repos, **kw): key = 'autobuild' if adjust_repos: - distro.packager.install_priorities_plugin() - # haven't been able to determine necessity of check_obsoletes with DNF - distro.conn.remote_module.enable_yum_priority_obsoletes() - logger.warning('check_obsoletes has been enabled for Yum priorities plugin') + if distro.packager.name == 'yum': + distro.packager.install('yum-plugin-priorities') + # haven't been able to determine necessity of check_obsoletes with DNF + distro.conn.remote_module.enable_yum_priority_obsoletes() + logger.warning('check_obsoletes has been enabled for Yum priorities plugin') if version_kind != 'dev': remoto.process.run( -- 2.47.3