|
75 | 75 | Boolean $permit_unsafe_versions = false, |
76 | 76 | String $token_lifetime = '1y', |
77 | 77 | ) { |
| 78 | + # Log parameters for debugging |
| 79 | + peadm::log_plan_parameters({ |
| 80 | + 'primary_host' => $primary_host, |
| 81 | + 'replica_host' => $replica_host, |
| 82 | + 'compiler_hosts' => $compiler_hosts, |
| 83 | + 'legacy_compilers' => $legacy_compilers, |
| 84 | + 'primary_postgresql_host' => $primary_postgresql_host, |
| 85 | + 'replica_postgresql_host' => $replica_postgresql_host, |
| 86 | + 'version' => $version, |
| 87 | + }) |
| 88 | + |
78 | 89 | peadm::assert_supported_bolt_version() |
79 | 90 |
|
80 | 91 | peadm::assert_supported_pe_version($version, $permit_unsafe_versions) |
|
142 | 153 | stagingdir => $stagingdir, |
143 | 154 | final_agent_state => $final_agent_state, |
144 | 155 | ) |
145 | | - # Log parameters for debugging |
146 | | - peadm::log_plan_parameters({ |
147 | | - 'primary_host' => $primary_host, |
148 | | - 'replica_host' => $replica_host, |
149 | | - 'compiler_hosts' => $compiler_hosts, |
150 | | - 'legacy_compilers' => $legacy_compilers, |
151 | | - 'primary_postgresql_host' => $primary_postgresql_host, |
152 | | - 'replica_postgresql_host' => $replica_postgresql_host, |
153 | | - 'version' => $version, |
154 | | - }) |
155 | 156 |
|
156 | 157 | # Return a string banner reporting on what was done |
157 | 158 | return([$install_result, $configure_result]) |
|
0 commit comments