Skip to content

Commit 002167c

Browse files
committed
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.
1 parent e235324 commit 002167c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plans/convert_compiler_to_legacy.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
undef => $primary_target,
2727
default => $primary_target.peadm::certname(),
2828
},
29-
internal_compiler_a_pool_address => $cluster['params']['internal_compiler_a_pool_address'],
30-
internal_compiler_b_pool_address => $cluster['params']['internal_compiler_b_pool_address'],
29+
internal_compiler_a_pool_address => getvar('cluster.params.internal_compiler_a_pool_address'),
30+
internal_compiler_b_pool_address => getvar('cluster.params.internal_compiler_b_pool_address'),
3131
require => Class['peadm::setup::node_manager_yaml'],
3232
}
3333
}

0 commit comments

Comments
 (0)