From ac5c1c41dd0819cf487bbc6e4953b0c652b83757 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Fri, 15 Jul 2011 17:15:09 -0700 Subject: [PATCH] Add an overrides section for the ceph task. This lets you run a suite against a particular version of ceph, or with special debug settings. --- teuthology/task/ceph.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 53cc7b75cc7cd..08f18097c6612 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -724,6 +724,9 @@ def task(ctx, config): assert isinstance(config, dict), \ "task ceph only supports a dictionary for configuration" + overrides = ctx.config.get('overrides', {}) + config.update(overrides.get('ceph', {})) + flavor = None if config.get('path'): # local dir precludes any other flavors -- 2.39.5