From a2aeba613d5d499f2ff5654aaf02494837169c66 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Thu, 20 Sep 2018 10:45:33 +0200 Subject: [PATCH] Add model name to bundle log message This simply adds the model name to the log message that the bundle is being deployed to so the user can see which model got which bundle. --- zaza/charm_lifecycle/deploy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zaza/charm_lifecycle/deploy.py b/zaza/charm_lifecycle/deploy.py index 872bdf8..2a6c22e 100755 --- a/zaza/charm_lifecycle/deploy.py +++ b/zaza/charm_lifecycle/deploy.py @@ -220,7 +220,8 @@ def deploy_bundle(bundle, model): :param model: Name of model to deploy bundle in :type model: str """ - logging.info("Deploying bundle {}".format(bundle)) + logging.info("Deploying bundle {} on to {} model" + .format(bundle, model)) cmd = ['juju', 'deploy', '-m', model, bundle] with tempfile.TemporaryDirectory() as tmpdirname: for overlay in render_overlays(bundle, tmpdirname):