From: Frank Brehm Date: Wed, 12 Jan 2022 09:44:18 +0000 (+0100) Subject: Defining VSPhere cluster as a zone for MOTD X-Git-Tag: 1.5.15^2~3 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=c5bb04024eca9ac73d7ca47fe3b574fc539d95f8;p=pixelpark%2Fcreate-terraform.git Defining VSPhere cluster as a zone for MOTD --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index 5950b8f..11954a0 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -67,7 +67,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.6.9' +__version__ = '3.7.1' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -2775,8 +2775,9 @@ class CreateTerraformHandler(BaseHandler): if vm.puppet_project: cmd += "--project '{pr}' " cmd += "--role '{r}' --owner '{o}' --tier '{t}' --purpose '{p}' --email '{m}'" + cmd += "--zone '{z}'" cmd = cmd.format( - p=purpose, t=vm.puppet_tier, o=vm.customer, c=vm.puppet_customer, + p=purpose, t=vm.puppet_tier, o=vm.customer, c=vm.puppet_customer, z=zone, pr=vm.puppet_project, m=vm.puppet_contact, e=vm.puppet_env, r=vm.puppet_role) commands.append(cmd) commands.append("rm -f /tmp/init-puppet")