From 00c2ac5b2ca5b60230dc18d87b283a5593e544e4 Mon Sep 17 00:00:00 2001 From: Sandon Van Ness Date: Tue, 30 Jul 2013 12:36:12 -0700 Subject: [PATCH] Fix RHEL/centos ceph-deploy installs. Use a hiphen as a diliminator instead of a dot. Signed-off-by: Sandon Van Ness --- 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 3366b3de0e..566639646a 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -205,7 +205,7 @@ def _update_rpm_package_list_and_install(ctx, remote, rpm, config): dloc = tmp_vers.rfind('-') t_vers1 = tmp_vers[0:dloc] t_vers2 = tmp_vers[dloc+1:] - trailer = "-{tv1}.{tv2}.{dist_release}".format(tv1=t_vers1, tv2=t_vers2, dist_release=dist_release) + trailer = "-{tv1}-{tv2}.{dist_release}".format(tv1=t_vers1, tv2=t_vers2, dist_release=dist_release) for cpack in rpm: pk_err_mess = StringIO() pkg2add = "{cpack}{trailer}".format(cpack=cpack,trailer=trailer) -- 2.39.5