]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Version bump to 1.7.2
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 13 Oct 2023 15:26:22 +0000 (17:26 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 13 Oct 2023 15:26:22 +0000 (17:26 +0200)
lib/cr_tf/__init__.py
lib/cr_tf/terraform/vm.py

index fe55e710f072623190836011a1846f28c934147b..cdac2ba4b2022f68ad5d1ea2d3e671543c89a56b 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/env python3
 # -*- coding: utf-8 -*-
 
-__version__ = '1.7.1'
+__version__ = '1.7.2'
 
 MIN_VERSION_TERRAFORM = '1.0.5'
 MAX_VERSION_TERRAFORM = '1.8.0'
index 86362d4ec1b6764bfb0efcdc231ad1ad0eb68037..51dadbfce3c26423d51342fb5511fe16585ea337 100644 (file)
@@ -133,7 +133,7 @@ class TerraformVm(HandlingObject):
     re_key_has_puppet = re.compile(r'^\s*has[_-]?puppet\s*$', re.IGNORECASE)
     re_key_is_rhel = re.compile(r'^\s*is[_-]?rhel\s*$', re.IGNORECASE)
     re_memory_value = re.compile(r'^\s*(\d+(?:\.\d*)?)\s*(?:(\D+)\s*)?$')
-    re_rhel_template = re.compile(r'(?:rhel|red[_-\s]*hat[_-\s]*enterprise)', re.IGNORECASE)
+    re_rhel_template = re.compile(r'(?:rhel|red[\s_-]*hat[\s_-]*enterprise)', re.IGNORECASE)
 
     re_invalid_chars = re.compile(r'[^a-z0-9@\._-]', re.IGNORECASE)
     re_invalid_chars_role = re.compile(r'[^a-z0-9:@\._-]', re.IGNORECASE)