Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Upgrade go-camo to 2.4.0.

Alex Vandiverf2e66c0b20bf
diff --git a/puppet/zulip/manifests/camo.pp b/puppet/zulip/manifests/camo.pp
index 2fcdf97cf98..a3e5297c6bd 100644
--- a/puppet/zulip/manifests/camo.pp
+++ b/puppet/zulip/manifests/camo.pp
@@ -7,12 +7,13 @@ class zulip::camo (String $listen_address = '0.0.0.0') {
}
$version = $zulip::common::versions['go-camo']['version']
+ $goversion = $zulip::common::versions['go-camo']['goversion']
$dir = "/srv/zulip-go-camo-${version}"
$bin = "${dir}/bin/go-camo"
zulip::external_dep { 'go-camo':
version => $version,
- url => "https://github.com/cactus/go-camo/releases/download/v${version}/go-camo-${version}.go1171.linux-${::architecture}.tar.gz",
+ url => "https://github.com/cactus/go-camo/releases/download/v${version}/go-camo-${version}.go${goversion}.linux-${::architecture}.tar.gz",
tarball_prefix => "go-camo-${version}",
}
diff --git a/puppet/zulip/manifests/common.pp b/puppet/zulip/manifests/common.pp
index c6432d93b5c..cbe2d9eca1a 100644
--- a/puppet/zulip/manifests/common.pp
+++ b/puppet/zulip/manifests/common.pp
@@ -36,10 +36,11 @@ class zulip::common {
$versions = {
# https://github.com/cactus/go-camo/releases
'go-camo' => {
- 'version' => '2.3.0',
- 'sha256' => {
- 'amd64' => '965506e6edb9d974c810519d71e847afb7ca69d1d01ae7d8be6d7a91de669c0c',
- 'aarch64' => '40463f6790eb0d2da69ad6a902fcc4c6b0c0ac24106a6c28fbfce9dfa4cb15cd',
+ 'version' => '2.4.0',
+ 'goversion' => '1176',
+ 'sha256' => {
+ 'amd64' => '0033c412d1da09caca1774d2a7e3de3ec281e0450d67c574846f167ce253b67c',
+ 'aarch64' => '81bdf24e769cdf9a8bd2c5d9ecc633437eb3b22be73bdc10e03e517dd887b2b7',
},
},