File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11# GCP Tamr VM module
22
3+ ## v2.1.1 - April 28th 2023
4+ * Startup script checks for the correct unify start script
5+ * Startup script avoids permission errors in creating custom config
6+
37## v2.1.0 - April 25th 2023
48* Following optional input variables now available
59 * metadata
Original file line number Diff line number Diff line change 1- 2.1.0
1+ 2.1.1
Original file line number Diff line number Diff line change 1313)
1414
1515# check if tamr has been installed on the VM, if not download and install it
16- if [[ ! -f ${tamr_home_directory} /tamr/start.sh ]]; then
16+ if [[ ! -f ${tamr_home_directory} /tamr/start-unify .sh ]]; then
1717 # download tamr install
1818 sudo -S -u tamr -i /bin/bash -c ' gsutil cp ${tamr_zip_uri} ${tamr_home_directory}/unify.zip'
1919 # unzip and install unify
2020 sudo -S -u tamr -i /bin/bash -c ' unzip ${tamr_home_directory}/unify.zip -d ${tamr_home_directory}'
2121
2222 # apply custom config
23- sudo -S -u tamr -i /bin/bash -c ' echo -e "$${TAMR_CONFIG}" > ${tamr_home_directory}/tamr/conf/unify-custom-config.yaml'
23+ TAMR_CONFIG= $TAMR_CONFIG sudo -Eu tamr /bin/bash -c ' echo -e "$${TAMR_CONFIG}" > ${tamr_home_directory}/tamr/conf/unify-custom-config.yaml'
2424 chown -R tamr:tamr ${tamr_home_directory} /tamr/conf/unify-custom-config.yaml
2525fi
2626
You can’t perform that action at this time.
0 commit comments