From f31fcdb936dd7beaafbfddf04ca51e9e57bb1474 Mon Sep 17 00:00:00 2001 From: Amanda Sposito Date: Mon, 23 Jul 2018 17:45:32 -0300 Subject: [PATCH] Add node as global dependency --- modules/stack/libexec/init.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/stack/libexec/init.sh b/modules/stack/libexec/init.sh index 536dc2c..0f2a9a3 100755 --- a/modules/stack/libexec/init.sh +++ b/modules/stack/libexec/init.sh @@ -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')"