Update local server install script for puppet move.

(imported from commit 4bd7292dd54e9091747dce44b41b57a42496bc3b)
This commit is contained in:
Tim Abbott 2013-10-30 15:54:23 -04:00
parent ddbfe31449
commit a53c7c0f45
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@
apt-get update
apt-get -y dist-upgrade
apt-get install -y puppet git
cp -a /root/zulip/servers/puppet/modules/zulip/files/puppet.conf /etc/puppet/
cp -a /root/zulip/puppet/zulip/files/puppet.conf /etc/puppet/
ssh $SSH_OPTS "$server" -t -i "$amazon_key_file" -lroot <<EOF
cp -a /root/zulip/servers/puppet/modules/zulip/files/puppet.conf /etc/puppet/
cp -a /root/zulip/puppet/zulip/files/puppet.conf /etc/puppet/
puppet apply -e 'class {"zulip": machinetype => "local_server"}'
cp -a /root/zulip /home/zulip/zulip