From b79e8b7439fea3106a72b3eef826fd735aa7a268 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 3 Sep 2021 12:18:21 +0200 Subject: [PATCH] Fixing lib/cr_tf/terraform/vm.py --- lib/cr_tf/terraform/vm.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/cr_tf/terraform/vm.py b/lib/cr_tf/terraform/vm.py index d44fe72..85e9ecf 100644 --- a/lib/cr_tf/terraform/vm.py +++ b/lib/cr_tf/terraform/vm.py @@ -37,7 +37,7 @@ from .disk import TerraformDisk, TerraformDiskDict from .interface import TerraformInterface -__version__ = '1.5.5' +__version__ = '1.5.6' LOG = logging.getLogger(__name__) @@ -94,7 +94,9 @@ class TerraformVm(HandlingObject): default_purpose = "Customer project" default_rootdisk_size = 32.0 - valid_puppet_environments = [PUPPET_ENVIRONMENTS] + valid_puppet_environments = [] + for env in PUPPET_ENVIRONMENTS: + valid_puppet_environments.append(env) max_num_cpus = 64 memory_chunk = 256 -- 2.39.5