From 0a6b5a9b61f619e48fbe2b70aed7073789196b77 Mon Sep 17 00:00:00 2001 From: David Hollinger Date: Sun, 30 Aug 2020 13:43:36 -0500 Subject: [PATCH] More build process fixes --- resources/postinst.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/postinst.sh b/resources/postinst.sh index b598c5f..5a47f67 100755 --- a/resources/postinst.sh +++ b/resources/postinst.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +export WEBHOOK_CONFDIR=/etc/voxpupuli/webhook.yaml export RACK_ENV=production export RUBYLIB=/opt/voxpupuli/webhook/lib/ruby:/opt/voxpupuli/webhook export GEM_HOME=/opt/voxpupuli/webhook/lib/ruby/gems/2.6.0 @@ -6,6 +7,6 @@ export GEM_PATH=$GEM_HOME export LD_PATH=/opt/voxpupuli/webhook/lib export PATH=/opt/voxpupuli/webhook/bin:$PATH -cd /opt/voxpupuli/webhook && bin/bundle install --with default > /dev/null 2>&1 && bin/bundle exec rake db:migrate > /dev/null 2>&1 +cd /opt/voxpupuli/webhook && bin/bundle install --with default --quiet && bin/bundle exec rake db:migrate --quiet echo "Redis is required to start Puppet Webhook. Please install and start Redis first."