Characters '" in environmental variables should be escaped in the value should be escaped. If not, generated code for master/worker install script is incorrect and fails during execution.
Consider this request to define cluster:
.....
"env-var": {
"AN_ENV_VARIABLE": "avalue",
}
This will lead to the following script being generated and successfully executed:
Characters
'
"
in environmental variables should be escaped in the value should be escaped. If not, generated code for master/worker install script is incorrect and fails during execution.Consider this request to define cluster:
This will lead to the following script being generated and successfully executed:
Now consider this request to define cluster:
This will lead to the following script being generated:
This script won't execute properly.