We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c0478 commit 0342b51Copy full SHA for 0342b51
plans/migrate.pp
@@ -11,6 +11,7 @@
11
Peadm::SingleTargetSpec $old_primary_host,
12
Peadm::SingleTargetSpec $new_primary_host,
13
Optional[String] $upgrade_version = undef,
14
+ Optional[SingleTargetSpec] $replica_host = undef,
15
) {
16
peadm::assert_supported_bolt_version()
17
@@ -36,6 +37,7 @@
36
37
code_manager_auto_configure => true,
38
download_mode => 'direct',
39
version => $old_pe_conf['pe_version'],
40
+ replica_host => $replica_host,
41
})
42
43
run_plan('peadm::restore', {
@@ -48,7 +50,8 @@
48
50
run_plan('peadm::upgrade', {
49
51
primary_host => $new_primary_host,
52
version => $upgrade_version,
- download_mode => 'direct',
53
+ download_mode => 'direct',
54
55
56
}
57
0 commit comments