mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	install: Add ADDITIONAL_PACKAGES option.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user