calamari_setup: der. Use dict.update() correctly

Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
Dan Mick 2015-03-26 17:54:36 -07:00
parent 85e7be5a48
commit 58174f05e9

View File

@ -51,7 +51,9 @@ def task(ctx, config):
calamari_user -- user name to log into gui
calamari_password -- calamari user password
"""
config = DEFAULTS.update(config)
local_config = DEFAULTS
local_config.update(config)
config = local_config
cal_svr = None
for remote_, roles in ctx.cluster.remotes.items():
if 'client.0' in roles: