From 58174f05e93e1d3d5ed45971c8e97533f4e3182c Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 26 Mar 2015 17:54:36 -0700 Subject: [PATCH] calamari_setup: der. Use dict.update() correctly Signed-off-by: Dan Mick --- tasks/calamari_setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/calamari_setup.py b/tasks/calamari_setup.py index 908f4bda462cf..a7106c2a6ea23 100644 --- a/tasks/calamari_setup.py +++ b/tasks/calamari_setup.py @@ -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: -- 2.39.5