From d3f855ec81b9368ee5c48f7ec6dd66282708e2e2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 31 May 2012 21:39:33 -0700 Subject: [PATCH] fix up dist var This lets you override the default (now precise) in the ceph config yaml, e.g. - ceph: dist: oneiric branch: master --- teuthology/task/ceph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 07ddd17a7c..eb4119ed4b 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -197,7 +197,7 @@ def binaries(ctx, config): sha1=config.get('sha1'), flavor=config.get('flavor'), format=config.get('format'), - dist=dist, + dist=config.get('dist'), arch=config.get('arch'), ) ctx.summary['ceph-sha1'] = sha1 @@ -1008,7 +1008,7 @@ def task(ctx, config): sha1=config.get('sha1'), path=config.get('path'), flavor=flavor, - dist=dist, + dist=config.get('dist', dist), format=format, arch=arch )), -- 2.39.5