From 3bfb1362f6fb4e5272ec2f052db4f7663e963f42 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 13 Nov 2019 18:33:39 +0100 Subject: [PATCH] Fixing lib/cr_tf/terraform/vm.py, Version bump to 1.3.9 --- lib/cr_tf/__init__.py | 2 +- lib/cr_tf/terraform/vm.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5