diff --git a/modules/stack/libexec/init.sh b/modules/stack/libexec/init.sh index 6aa94e8..8b7751f 100755 --- a/modules/stack/libexec/init.sh +++ b/modules/stack/libexec/init.sh @@ -182,6 +182,11 @@ if ! which psql >/dev/null; then yum install -y --enablerepo=epel postgresql >"$LOG" fi +if ! which g++ >/dev/null; then + log "Installing gcc-c++.." + yum install -y gcc-c++ >"$LOG" +fi + function has_db() { psql --tuples-only --no-align \ "$DATABASE_URL/postgres" \