mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +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)
|
||||
|
||||
$goarch = $::architecture ? {
|
||||
'amd64' => 'amd64',
|
||||
'aarch64' => 'arm64',
|
||||
}
|
||||
|
||||
$versions = {
|
||||
# https://github.com/cactus/go-camo/releases
|
||||
'go-camo' => {
|
||||
|
Reference in New Issue
Block a user