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: Use goarch for golang.

Alex Vandiverbe2f2a5bde6b
diff --git a/puppet/zulip/manifests/golang.pp b/puppet/zulip/manifests/golang.pp
index be86ad521d3..d5db4021df7 100644
--- a/puppet/zulip/manifests/golang.pp
+++ b/puppet/zulip/manifests/golang.pp
@@ -2,13 +2,12 @@
#
class zulip::golang {
$version = $zulip::common::versions['golang']['version']
-
$dir = "/srv/zulip-golang-${version}"
$bin = "${dir}/bin/go"
zulip::external_dep { 'golang':
version => $version,
- url => "https://golang.org/dl/go${version}.linux-${::architecture}.tar.gz",
+ url => "https://golang.org/dl/go${version}.linux-${zulip::common::goarch}.tar.gz",
tarball_prefix => 'go',
}
}