added db type parameter
This commit is contained in:
Родитель
e7de9462ef
Коммит
713debc866
|
@ -25,6 +25,9 @@
|
|||
},
|
||||
"masterIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"dbType": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
|
@ -285,7 +288,7 @@
|
|||
"typeHandlerVersion": "1.2",
|
||||
"settings": {
|
||||
"fileUris": "[parameters('osSettings').scripts]",
|
||||
"commandToExecute": "[concat('bash install_postgresql.sh -m ', parameters('masterIpAddress'), ' -s ', parameters('subnet').prefix, ' -t ', copyindex(), ' -p ', parameters('replicatorPassword') )]"
|
||||
"commandToExecute": "[concat('bash install_postgresql.sh -m ', parameters('masterIpAddress'), ' -s ', parameters('subnet').prefix, ' -t ', parameters('dbType') , ' -p ', parameters('replicatorPassword') )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
},
|
||||
"masterIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"dbType": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
|
@ -145,7 +148,7 @@
|
|||
"typeHandlerVersion": "1.2",
|
||||
"settings": {
|
||||
"fileUris": "[parameters('osSettings').scripts]",
|
||||
"commandToExecute": "[concat('bash install_postgresql.sh -m ', parameters('masterIpAddress'), ' -s ', parameters('subnet').prefix, ' -t ', copyindex(), ' -p ', parameters('replicatorPassword') )]"
|
||||
"commandToExecute": "[concat('bash install_postgresql.sh -m ', parameters('masterIpAddress'), ' -s ', parameters('subnet').prefix, ' -t ', parameters('dbType') , ' -p ', parameters('replicatorPassword') )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
},
|
||||
"masterIpAddress": {
|
||||
"type": "string"
|
||||
},
|
||||
"dbType": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
|
@ -205,7 +208,7 @@
|
|||
"typeHandlerVersion": "1.2",
|
||||
"settings": {
|
||||
"fileUris": "[parameters('osSettings').scripts]",
|
||||
"commandToExecute": "[concat('bash install_postgresql.sh -m ', parameters('masterIpAddress'), ' -s ', parameters('subnet').prefix, ' -t ', copyindex(), ' -p ', parameters('replicatorPassword') )]"
|
||||
"commandToExecute": "[concat('bash install_postgresql.sh -m ', parameters('masterIpAddress'), ' -s ', parameters('subnet').prefix, ' -t ', parameters('dbType') , ' -p ', parameters('replicatorPassword') )]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче