From e530449dc2d99d326a269f0e34afb6353393baee Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 19 Jul 2022 14:37:19 +0200 Subject: [PATCH] Version bump to 1.6.6 and trying to fix lib/cr_tf/terraform/vm.py --- lib/cr_tf/__init__.py | 2 +- lib/cr_tf/terraform/vm.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: -- 2.39.5