Use the enterprise apt key when installing local server.

(imported from commit 24fa7474a77cac7b1d033c6732de6873d4aa9880)
This commit is contained in:
Tim Abbott 2013-11-10 09:53:17 -05:00
parent 30e5543eae
commit bf0fda7426
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,10 @@ class zulip::local_server {
include zulip::postgres_appdb include zulip::postgres_appdb
include zulip::camo include zulip::camo
apt::key {"A529EF65":
source => "http://apt.zulip.com/enterprise.asc",
}
file { "/etc/nginx/sites-available/zulip-local": file { "/etc/nginx/sites-available/zulip-local":
require => Package[nginx], require => Package[nginx],
ensure => file, ensure => file,

View File

@ -8,9 +8,12 @@ fi
tarball="$1" tarball="$1"
# First, install any updates from the apt repo that may be needed # First, install any updates from the apt repo that may be needed
wget -O /root/enterprise.asc https://apt.zulip.com/enterprise.asc
apt-key add /root/enterprise.asc
cat >/etc/apt/sources.list.d/zulip.list <<EOF cat >/etc/apt/sources.list.d/zulip.list <<EOF
deb http://apt.zulip.com/enterprise precise v1 deb http://apt.zulip.com/enterprise precise v1
EOF EOF
apt-get update apt-get update
apt-get -y dist-upgrade apt-get -y dist-upgrade
apt-get install -y puppet git apt-get install -y puppet git