File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 7777 num_striped_disks: 5
7878 Azure:
7979 disk_size: 200
80- disk_type: Premium_LRS_V2
80+ disk_type: PremiumV2_LRS
8181 provisioned_iops: 40000
8282 provisioned_throughput: 800
8383 num_striped_disks: 2
@@ -142,6 +142,7 @@ def GetConfig(user_config):
142142 vm_spec [cloud ]['zone' ] = FLAGS .client_vm_zone
143143 if FLAGS .client_vm_machine_type :
144144 vm_spec [cloud ]['machine_type' ] = FLAGS .client_vm_machine_type
145+
145146 # Add replica servers if configured.
146147 if FLAGS .db_high_availability :
147148 for index , zone in enumerate (FLAGS .db_replica_zones ):
Original file line number Diff line number Diff line change @@ -126,9 +126,12 @@ def YumInstall(vm):
126126 vm .RemoteCommand ('sudo dnf -qy module disable postgresql' )
127127 else :
128128 vm .RemoteCommand ('sudo dnf update' )
129+ postgres_devel = 'postgresql16-devel'
130+ if vm .OS_TYPE in os_types .AMAZONLINUX_TYPES :
131+ postgres_devel = 'postgresql-devel'
129132 vm .RemoteCommand (
130133 'sudo yum install -y postgresql16-server postgresql16'
131- ' postgresql16-contrib postgresql16-devel '
134+ f ' postgresql16-contrib { postgres_devel } '
132135 )
133136 vm .RemoteCommand (
134137 'echo "export PATH=/usr/pgsql-16/bin:$PATH" | sudo tee -a ~/.bashrc'
You can’t perform that action at this time.
0 commit comments