Hackishly install a correct version of python-django-guardian in prod install.

(imported from commit 1027e05a1a9805a17fcb4b8dea2c2cf8cda280af)
This commit is contained in:
Tim Abbott 2015-09-25 05:27:07 -07:00
parent f4be74dafc
commit b69c6228af
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ apt-get -y dist-upgrade
apt-get install -y puppet git
cp -a /root/zulip/puppet/zulip/files/puppet.conf /etc/puppet/
# Hack to get required python-django-guardian while the PPA build of django-guardian isn't working :(
apt-get -y install python-django
wget https://zulip.com/dist/packages/python-django-guardian_1.3-1~zulip4_all.deb
dpkg -i /root/python-django-guardian_1.3-1~zulip4_all.deb
mkdir -p /etc/zulip
echo -e "[machine]\npuppet_classes = zulip::voyager\ndeploy_type = voyager" > /etc/zulip/zulip.conf
/root/zulip/scripts/zulip-puppet-apply -f