puppet: Factor out $::architecture case statement for golang.

(cherry picked from commit 788daa953b)
This commit is contained in:
Alex Vandiver
2022-02-11 11:37:31 -08:00
committed by Tim Abbott
parent c20afad828
commit 232fe495be

View File

@@ -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' => {