Skip to content

Commit b73d322

Browse files
(PE-40386) update add_replica and upgrade
1 parent e47b724 commit b73d322

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plans/migrate.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
run_plan('peadm::add_replica', {
150150
primary_host => $new_primary_host,
151151
replica_host => $replica_host,
152+
replica_postgresql_host => $replica_postgresql_host,
152153
})
153154
}
154155
$peadm_config_after_replica = run_task('peadm::get_peadm_config', $new_primary_host).first.value
@@ -162,6 +163,8 @@
162163
version => $upgrade_version,
163164
download_mode => 'direct',
164165
replica_host => $replica_host,
166+
primary_postgresql_host => $primary_postgresql_host,
167+
replica_postgresql_host => $replica_postgresql_host,
165168
})
166169
}
167170
}

0 commit comments

Comments
 (0)