From: Frank Brehm Date: Fri, 19 Mar 2021 08:12:36 +0000 (+0100) Subject: Removing tier from purpose on MOTD X-Git-Tag: 1.4.12~3 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=2ae1809afb55dc780d62dee049ff576ce7d798a8;p=pixelpark%2Fcreate-terraform.git Removing tier from purpose on MOTD --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index 9397f45..f331515 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -60,7 +60,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.4.6' +__version__ = '3.4.7' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -2661,7 +2661,7 @@ class CreateTerraformHandler(BaseHandler): cmd = "/tmp/init-puppet --environment '{e}' --customer '{c}' " if vm.puppet_project: cmd += "--project '{pr}' " - cmd += "--role '{r}' --owner '{o}' --tier '{t}' --purpose '{p} ({t})' --email '{m}'" + cmd += "--role '{r}' --owner '{o}' --tier '{t}' --purpose '{p}' --email '{m}'" cmd = cmd.format( p=purpose, t=vm.puppet_tier, o=vm.customer, c=vm.puppet_customer, pr=vm.puppet_project, m=vm.puppet_contact, e=vm.puppet_env, r=vm.puppet_role)