File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1919 # pre-migration checks
2020 out::message(' This plan is a work in progress and it is not recommended to be used until it is fully implemented and supported' )
2121 peadm::assert_supported_bolt_version()
22- peadm::assert_supported_pe_version($pe_version , $permit_unsafe_versions )
22+ if $upgrade_version and $upgrade_version != ' ' and !empty($upgrade_version ) {
23+ $permit_unsafe_versions = false
24+ peadm::assert_supported_pe_version($pe_version , $permit_unsafe_versions )
25+ }
2326
2427 $all_hosts = peadm::flatten_compact([
2528 $old_primary_host ,
2629 $new_primary_host ,
2730 ])
2831 run_command(' hostname' , $all_hosts ) # verify can connect to targets
32+
33+ if $replica_host != ' ' and !empty($replica_host ) {
34+ run_command(' hostname' , $replica_host )
35+ }
2936
3037 # verify the cluster we are migrating from is operational and is a supported architecture
3138 $cluster = run_task(' peadm::get_peadm_config' , $old_primary_host ).first.value
You can’t perform that action at this time.
0 commit comments