]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Removing tier from purpose on MOTD
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 19 Mar 2021 08:12:36 +0000 (09:12 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 19 Mar 2021 08:12:36 +0000 (09:12 +0100)
lib/cr_tf/handler.py

index 9397f45598fabeb96347eaa87be39787685cc0af..f3315157cb26f926b1404091ed562f7a2cf64594 100644 (file)
@@ -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)