File tree 5 files changed +10
-10
lines changed 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 21
21
Optional[TargetSpec] $compiler_hosts = undef ,
22
22
23
23
# Extra Large
24
- Optional[Peadm::SingleTargetSpec] $primary_postgresql_host = undef ,
24
+ Optional[Peadm::SingleTargetSpec] $primary_postgresql_host = undef ,
25
25
Optional[Peadm::SingleTargetSpec] $replica_postgresql_host = undef ,
26
26
27
27
# Common Configuration
92
92
if $arch [' disaster-recovery' ] {
93
93
# Run the PE Replica Provision
94
94
run_task(' peadm::provision_replica' , $primary_target ,
95
- primary_replica => $replica_target .peadm::certname(),
96
- token_file => $token_file ,
95
+ replica => $replica_target .peadm::certname(),
96
+ token_file => $token_file ,
97
97
98
98
# Race condition, where the provision command checks PuppetDB status and
99
99
# probably gets "starting", but fails out because that's not "running".
100
100
# Can remove flag when that issue is fixed.
101
- legacy => true ,
101
+ legacy => true ,
102
102
)
103
103
}
104
104
Original file line number Diff line number Diff line change 1
1
{
2
2
"description" : " Execute the enable replica puppet command " ,
3
3
"parameters" : {
4
- "primary_replica " : {
4
+ "replica " : {
5
5
"type" : " String" ,
6
6
"description" : " The name of the replica to enable"
7
7
},
Original file line number Diff line number Diff line change 14
14
env PATH=" /opt/puppetlabs/bin:${PATH} " \
15
15
USER=" $USER " \
16
16
HOME=" $HOME " \
17
- puppet infrastructure enable replica " $PT_primary_replica " \
17
+ puppet infrastructure enable replica " $PT_replica " \
18
18
--skip-agent-config \
19
19
--topology mono-with-compile \
20
20
--yes --token-file " $TOKEN_FILE "
Original file line number Diff line number Diff line change 1
1
{
2
2
"description" : " Execute the replica provision puppet command " ,
3
3
"parameters" : {
4
- "primary_replica " : {
4
+ "replica " : {
5
5
"type" : " String" ,
6
6
"description" : " The name of the replica to provision"
7
7
},
Original file line number Diff line number Diff line change 14
14
set -e
15
15
16
16
if [ " $PT_legacy " = " false" ]; then
17
- puppet infrastructure provision replica " $PT_primary_replica " \
17
+ puppet infrastructure provision replica " $PT_replica " \
18
18
--yes --token-file " $TOKEN_FILE " \
19
19
--skip-agent-config \
20
20
--topology mono-with-compile \
21
21
--enable
22
22
23
23
elif [ " $PT_legacy " = " true" ]; then
24
- puppet infrastructure provision replica " $PT_primary_replica " \
24
+ puppet infrastructure provision replica " $PT_replica " \
25
25
--token-file " $TOKEN_FILE "
26
26
27
- puppet infrastructure enable replica " $PT_primary_replica " \
27
+ puppet infrastructure enable replica " $PT_replica " \
28
28
--yes --token-file " $TOKEN_FILE " \
29
29
--skip-agent-config \
30
30
--topology mono-with-compile
You can’t perform that action at this time.
0 commit comments