ceph-fuse: apply overrides[ceph-fuse] to config

This commit is contained in:
Sage Weil 2012-11-10 08:41:41 -08:00
parent f9b4efeab1
commit a46dd6b605

View File

@ -38,7 +38,7 @@ def task(ctx, config):
- ceph:
- ceph-fuse:
client.0:
valgrind: --tool=memcheck
valgrind: [--tool=memcheck, --leak-check=full, --show-reachable=yes]
- interactive:
"""
@ -51,6 +51,9 @@ def task(ctx, config):
elif isinstance(config, list):
config = dict((name, None) for name in config)
overrides = ctx.config.get('overrides', {})
teuthology.deep_merge(config, overrides.get('ceph-fuse', {}))
clients = list(teuthology.get_clients(ctx=ctx, roles=config.keys()))
for id_, remote in clients: