install: Add ADDITIONAL_PACKAGES option.

This commit is contained in:
Tim Abbott 2016-04-26 15:02:28 -07:00
parent f5e6176aea
commit 68c6d514e8
1 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,11 @@ set -xe
# Assumes we've already been untarred
# Specify options for apt
APT_OPTIONS="${APT_OPTIONS:-}"
# Install additional packages using apt
ADDITIONAL_PACKAGES=${ADDITIONAL_PACKAGES:-}
# First, install any updates from the apt repo that may be needed
wget -O /root/zulip-ppa.asc https://zulip.com/dist/keys/zulip-ppa.asc
apt-key add /root/zulip-ppa.asc
@ -13,7 +18,7 @@ EOF
apt-get update
apt-get -y dist-upgrade $APT_OPTIONS
apt-get install -y puppet git python
apt-get install -y puppet git python $ADDITIONAL_PACKAGES
mkdir -p /etc/zulip
echo -e "[machine]\npuppet_classes = zulip::voyager\ndeploy_type = voyager" > /etc/zulip/zulip.conf