Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
def install(distro, version_kind, version, adjust_repos):
+ logger = distro.conn.logger
release = distro.release
machine = distro.machine_type
repo_part = repository_url_part(distro)
],
)
+ # set the right priority
+ logger.warning('ensuring that /etc/yum.repos.d/ceph.repo contains a high pririty')
+ distro.conn.remote_module.set_repo_priority(['Ceph', 'Ceph-noarch', 'ceph-source'])
+ logger.warning('altered ceph.repo priorities to contain: priority=1')
+
process.run(
distro.conn,
[
'yum',
'-y',
- '-q',
'install',
'ceph',
],