From 30dbe93125baa023ff4283d685d56758e72a03fc Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 28 Jul 2015 15:46:22 -0700 Subject: [PATCH] calamari_setup: hack for 1.3.0 on centos: install lttng from EPEL lttng is not yet part of any private repo; since 1.3.0/CentOS is not a supported product, just grab it from EPEL for this test. Signed-off-by: Dan Mick --- tasks/calamari_setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/calamari_setup.py b/tasks/calamari_setup.py index b2e1d38f36c58..c893dc74b984e 100644 --- a/tasks/calamari_setup.py +++ b/tasks/calamari_setup.py @@ -109,6 +109,11 @@ def fix_yum_repos(remote, distro): contain a repo file named rhel.repo """ if distro.startswith('centos'): + # hack alert: detour: install lttng for ceph + # this works because epel is preinstalled on the vpms + # this is not a generic solution + # this is here solely to test the one-off 1.3.0 release for centos6 + remote.run(args="sudo yum -y install lttng-tools") cmds = [ 'sudo mkdir /etc/yum.repos.d.old'.split(), ['sudo', 'cp', run.Raw('/etc/yum.repos.d/*'), -- 2.39.5