From 002167c86391aa2987c415c96f71f81b68b903ab Mon Sep 17 00:00:00 2001 From: Ioannis Karasavvaidis Date: Tue, 17 Sep 2024 15:58:36 +0100 Subject: [PATCH] feat(convert_compiler_to_legacy): update internal compiler pool address retrieval - Changed retrieval of `internal_compiler_a_pool_address` and `internal_compiler_b_pool_address` to use `getvar` function. - Ensured compatibility with updated cluster parameter structure. This update improves the robustness of the plan by ensuring correct retrieval of internal compiler pool addresses. --- plans/convert_compiler_to_legacy.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plans/convert_compiler_to_legacy.pp b/plans/convert_compiler_to_legacy.pp index 1ef29e8e..c75924bd 100644 --- a/plans/convert_compiler_to_legacy.pp +++ b/plans/convert_compiler_to_legacy.pp @@ -26,8 +26,8 @@ undef => $primary_target, default => $primary_target.peadm::certname(), }, - internal_compiler_a_pool_address => $cluster['params']['internal_compiler_a_pool_address'], - internal_compiler_b_pool_address => $cluster['params']['internal_compiler_b_pool_address'], + internal_compiler_a_pool_address => getvar('cluster.params.internal_compiler_a_pool_address'), + internal_compiler_b_pool_address => getvar('cluster.params.internal_compiler_b_pool_address'), require => Class['peadm::setup::node_manager_yaml'], } }