From: Frank Brehm Date: Wed, 13 Nov 2019 17:33:39 +0000 (+0100) Subject: Fixing lib/cr_tf/terraform/vm.py, Version bump to 1.3.9 X-Git-Tag: 1.3.9^0 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=3bfb1362f6fb4e5272ec2f052db4f7663e963f42;p=pixelpark%2Fcreate-terraform.git Fixing lib/cr_tf/terraform/vm.py, Version bump to 1.3.9 --- diff --git a/lib/cr_tf/__init__.py b/lib/cr_tf/__init__.py index 6a00d15..b3b780b 100644 --- a/lib/cr_tf/__init__.py +++ b/lib/cr_tf/__init__.py @@ -1,7 +1,7 @@ #!/bin/env python3 # -*- coding: utf-8 -*- -__version__ = '1.3.8' +__version__ = '1.3.9' MIN_VERSION_TERRAFORM = '0.12.2' MAX_VERSION_TERRAFORM = '0.12.99' diff --git a/lib/cr_tf/terraform/vm.py b/lib/cr_tf/terraform/vm.py index 4fd19dd..d794751 100644 --- a/lib/cr_tf/terraform/vm.py +++ b/lib/cr_tf/terraform/vm.py @@ -522,7 +522,7 @@ class TerraformVm(HandlingObject): return if p_key.lower() == 'role' and p_value_stripped: - if cls.re_invalid_chars.search(p_value_stripped): + if cls.re_invalid_chars_role.search(p_value_stripped): LOG.error(_("Invalid puppet role {!r}.").format(p_value)) else: vm.puppet_role = p_value_stripped