File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 4242 - large
4343 - extra-large
4444 - large-with-dr
45- # - extra-large-with-dr
45+ - extra-large-with-dr
4646 version : [2021.7.9, 2023.8.2, 2025.2.0]
4747 image : [almalinux-cloud/almalinux-8]
4848 include :
Original file line number Diff line number Diff line change 1212# Optional new server that will become the PE replica server
1313# @param primary_postgresql_host
1414# Optional new server that will become the primary postgresql server
15- #
15+ # @param new_replica_postgresql_host
16+ # Optional new server that will become the replica postgresql server
17+
1618plan peadm::migrate (
1719 Peadm::SingleTargetSpec $old_primary_host ,
1820 Peadm::SingleTargetSpec $new_primary_host ,
1921 Optional[String] $upgrade_version = undef ,
2022 Optional[Peadm::SingleTargetSpec] $replica_host = undef ,
2123 Optional[Peadm::SingleTargetSpec] $primary_postgresql_host = undef ,
24+ Optional[Peadm::SingleTargetSpec] $new_replica_postgresql_host = undef ,
2225) {
2326 # pre-migration checks
2427 out::message(' This plan is a work in progress and it is not recommended to be used until it is fully implemented and supported' )
3134 $new_hosts = peadm::flatten_compact([
3235 $new_primary_host ,
3336 $replica_host ? { undef => [], default => [$replica_host ] },
34- $primary_postgresql_host ? { undef => [], default => [$primary_postgresql_host ] }
37+ $primary_postgresql_host ? { undef => [], default => [$primary_postgresql_host ] },
38+ $new_replica_postgresql_host ? { undef => [], default => [$new_replica_postgresql_host ] },
3539 ].flatten)
3640 $all_hosts = peadm::flatten_compact([
3741 $old_primary_host ,
You can’t perform that action at this time.
0 commit comments