mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 18:13:58 +00:00
puppet: Factor out $::architecture case statement for golang.
(cherry picked from commit 788daa953b)
This commit is contained in:
committed by
Tim Abbott
parent
c20afad828
commit
232fe495be
@@ -33,6 +33,11 @@ class zulip::common {
|
|||||||
|
|
||||||
$total_memory_mb = Integer($::memorysize_mb)
|
$total_memory_mb = Integer($::memorysize_mb)
|
||||||
|
|
||||||
|
$goarch = $::architecture ? {
|
||||||
|
'amd64' => 'amd64',
|
||||||
|
'aarch64' => 'arm64',
|
||||||
|
}
|
||||||
|
|
||||||
$versions = {
|
$versions = {
|
||||||
# https://github.com/cactus/go-camo/releases
|
# https://github.com/cactus/go-camo/releases
|
||||||
'go-camo' => {
|
'go-camo' => {
|
||||||
|
|||||||
Reference in New Issue
Block a user