mirror of https://github.com/zulip/zulip.git
Expand install-server to run some additional required steps.
(imported from commit 22719e7a4ea62c8830c502052ec5547a1b3cf726)
This commit is contained in:
parent
0e77082873
commit
29dbb1de1b
|
@ -70,11 +70,12 @@ EOF
|
|||
# Stupid hack because humbug-self-signed.key isn't in git
|
||||
scp -i "$amazon_key_file" "$humbug_cert_file" root@"$server":/root/humbug/certs/humbug-self-signed.key
|
||||
|
||||
# TODO: Copy the real certs into place for prod servers
|
||||
|
||||
ssh "$server" -t -i "$amazon_key_file" -lroot <<EOF
|
||||
cp -a /root/humbug/certs/ /etc/ssl/
|
||||
cp -a /root/humbug/servers/puppet/modules/humbug/files/puppet.conf /etc/puppet/
|
||||
puppet apply -e 'class {"humbug": machinetype => "$type"}'
|
||||
cp -a /root/humbug /home/humbug/humbug
|
||||
chown -R humbug:humbug /home/humbug/humbug
|
||||
# These server restarting bits should be moveable into puppet-land, ideally
|
||||
apt-get -y upgrade
|
||||
if [ -e "/etc/init.d/nginx" ]; then
|
||||
|
|
Loading…
Reference in New Issue