Add node as global dependency

This commit is contained in:
Amanda Sposito 2018-07-23 17:45:32 -03:00
parent 2fd4a0103f
commit f31fcdb936
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ if ! which libtool >/dev/null; then
log "Installing libtool.."
yum install -y libtool >"$LOG"
fi
if ! which node >/dev/null; then
log "Installing nodejs.."
yum --enablerepo=epel install -y nodejs >"$LOG"
fi
log "Determining region this instance is in.."
REGION="$(curl -s $DYNDATA_URL/instance-identity/document | jq -r '.region')"