From: Travis Rhoden Date: Wed, 15 Jul 2015 06:24:26 +0000 (+0000) Subject: [RM-12259] Fedora: install priority plugin using packager class X-Git-Tag: v1.5.26~3^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0d4250dcae1552cc02a24ec2f169a592410e75af;p=ceph-deploy.git [RM-12259] Fedora: install priority plugin using packager class Signed-off-by: Travis Rhoden --- diff --git a/ceph_deploy/hosts/fedora/install.py b/ceph_deploy/hosts/fedora/install.py index 6d4c12d..6ec4fed 100644 --- a/ceph_deploy/hosts/fedora/install.py +++ b/ceph_deploy/hosts/fedora/install.py @@ -1,6 +1,5 @@ from ceph_deploy.lib import remoto from ceph_deploy.hosts.centos.install import repo_install, mirror_install # noqa -from ceph_deploy.hosts.util import install_yum_priorities from ceph_deploy.util.paths import gpg from ceph_deploy.util import pkg_managers @@ -23,7 +22,8 @@ def install(distro, version_kind, version, adjust_repos, **kw): key = 'autobuild' if adjust_repos: - install_yum_priorities(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')