Skip to content

Commit

Permalink
feat(convert_compiler_to_legacy): update internal compiler pool addre…
Browse files Browse the repository at this point in the history
…ss 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.
  • Loading branch information
CoMfUcIoS committed Sep 17, 2024
1 parent e235324 commit 002167c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plans/convert_compiler_to_legacy.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
}
Expand Down

0 comments on commit 002167c

Please sign in to comment.