]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
calamari_setup: hack for 1.3.0 on centos: install lttng from EPEL
authorDan Mick <dan.mick@redhat.com>
Tue, 28 Jul 2015 22:46:22 +0000 (15:46 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 28 Jul 2015 23:12:09 +0000 (16:12 -0700)
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 <dan.mick@redhat.com>
tasks/calamari_setup.py

index b2e1d38f36c581b6132be1a32977a45ec8235fbf..c893dc74b984e3ebcd1187f29585b5ee6f5e8d6f 100644 (file)
@@ -109,6 +109,11 @@ def fix_yum_repos(remote, distro):
     contain a repo file named rhel<version-number>.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/*'),