diff --git a/scripts/beforeInstall.js b/scripts/beforeInstall.js index bf4bd90..beda0b5 100644 --- a/scripts/beforeInstall.js +++ b/scripts/beforeInstall.js @@ -6,17 +6,16 @@ var wafAddon = getParam('settings.wafAddon', true); var resp = { result: 0, - ssl: !!jelastic.billing.account.GetQuotas('environment.jelasticssl.enabled').array[0]?.value, + ssl: !!jelastic.billing.account.GetQuotas('environment.jelasticssl.enabled').array[0].value, nodes: [{ nodeType: "storage", - flexibleCloudlets: getParam('settings.st_flexibleCloudlets', 8), - fixedCloudlets: getParam('settings.st_fixedCloudlets', 1), - diskLimit: getParam('settings.st_diskLimit', 100), + flexibleCloudlets: ${settings.st_flexibleCloudlets:8}, + fixedCloudlets: ${settings.st_fixedCloudlets:1}, + diskLimit: ${settings.st_diskLimit:100}, nodeGroup: "storage", displayName: "Storage" }] -}; - +} resp.nodes.push({ nodeType: "llsmp", engine: phpVersion,