mirror of
https://github.com/ceph/ceph
synced 2025-02-15 23:07:55 +00:00
ceph-deploy: support overrides
Something like overrides: ceph-deploy: foo: bar Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
a395d55e0a
commit
2173d33d89
@ -398,6 +398,9 @@ def task(ctx, config):
|
||||
if config is None:
|
||||
config = {}
|
||||
|
||||
overrides = ctx.config.get('overrides', {})
|
||||
teuthology.deep_merge(config, overrides.get('ceph-deploy', {}))
|
||||
|
||||
assert isinstance(config, dict), \
|
||||
"task ceph-deploy only supports a dictionary for configuration"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user