From 22a0f2901c67638a319527bc5778edeebf3cb3da Mon Sep 17 00:00:00 2001 From: Paul Schoenfelder Date: Fri, 1 Jun 2018 10:43:51 -0400 Subject: [PATCH] [init] install git --- modules/stack/libexec/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/stack/libexec/init.sh b/modules/stack/libexec/init.sh index 45f8383..acc9cb7 100755 --- a/modules/stack/libexec/init.sh +++ b/modules/stack/libexec/init.sh @@ -55,6 +55,10 @@ if ! which jq >/dev/null; then log "Installing jq.." yum install -y --enablerepo=epel jq >"$LOG" fi +if ! which git >/dev/null; then + log "Installing git.." + yum install -y --enablerepo=epel git >"$LOG" +fi log "Determining region this instance is in.." REGION="$(curl -s $DYNDATA_URL/instance-identity/document | jq -r '.region')"