From: Frank Brehm Date: Tue, 19 Jul 2022 12:37:19 +0000 (+0200) Subject: Version bump to 1.6.6 and trying to fix lib/cr_tf/terraform/vm.py X-Git-Tag: 1.6.8~2^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e530449dc2d99d326a269f0e34afb6353393baee;p=pixelpark%2Fcreate-terraform.git Version bump to 1.6.6 and trying to fix lib/cr_tf/terraform/vm.py --- diff --git a/lib/cr_tf/__init__.py b/lib/cr_tf/__init__.py index 8a1418f..a2a7fb3 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.6.5' +__version__ = '1.6.6' MIN_VERSION_TERRAFORM = '1.0.5' MAX_VERSION_TERRAFORM = '1.3.0' diff --git a/lib/cr_tf/terraform/vm.py b/lib/cr_tf/terraform/vm.py index 2a0c6d6..4dace59 100644 --- a/lib/cr_tf/terraform/vm.py +++ b/lib/cr_tf/terraform/vm.py @@ -581,8 +581,8 @@ class TerraformVm(HandlingObject): vm.puppet_role = p_value_stripped return - if cls.re_key_initial_install.search(key) and val_stripped: - vm.puppet_initial_install = val_stripped + if cls.re_key_initial_install.search(p_key) and p_value_stripped: + vm.puppet_initial_install = p_value_stripped return True if p_key.lower() == 'tier' and p_value_stripped: