From b8f563b960436d0e237ed9b7497260d75a3edcd9 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 22 Jan 2015 14:11:14 -0700 Subject: [PATCH] Use yum localinstall to install ceph-release Partly, do this so that if ceph-release is already installed, we don't get an error. Signed-off-by: Zack Cerza --- teuthology/task/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/install.py b/teuthology/task/install.py index d236b1b8f4..4e122baacc 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -424,7 +424,7 @@ def _update_rpm_package_list_and_install(ctx, remote, rpm, config): # When this was one command with a pipe, it would sometimes # fail with the message 'rpm: no packages given for install' remote.run(args=['wget', base_url, ],) - remote.run(args=['sudo', 'rpm', '-i', rpm_name, ],) + remote.run(args=['sudo', 'yum', '-y', 'localinstall', rpm_name]) remote.run(args=['rm', '-f', rpm_name]) -- 2.39.5