puppet: Add aarch64 build hashes to external dependencies.

wal-g does not ship aarch64 binaries, currently; the compilation
process([1]) is somewhat complicated, so we defer the decision about
how to support wal-g for aarch64 until a later date.

[1]: https://github.com/wal-g/wal-g/blob/master/docs/PostgreSQL.md#installing

(cherry picked from commit c094867a74)
This commit is contained in:
Alex Vandiver
2021-12-29 02:39:11 +00:00
committed by Tim Abbott
parent 3fad49a9c1
commit c20afad828
3 changed files with 7 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ class zulip::camo (String $listen_address = '0.0.0.0') {
zulip::external_dep { 'go-camo':
version => $version,
url => "https://github.com/cactus/go-camo/releases/download/v${version}/go-camo-${version}.go1171.linux-amd64.tar.gz",
url => "https://github.com/cactus/go-camo/releases/download/v${version}/go-camo-${version}.go1171.linux-${::architecture}.tar.gz",
tarball_prefix => "go-camo-${version}",
}

View File

@@ -39,6 +39,7 @@ class zulip::common {
'version' => '2.3.0',
'sha256' => {
'amd64' => '965506e6edb9d974c810519d71e847afb7ca69d1d01ae7d8be6d7a91de669c0c',
'aarch64' => '40463f6790eb0d2da69ad6a902fcc4c6b0c0ac24106a6c28fbfce9dfa4cb15cd',
},
},
@@ -47,6 +48,7 @@ class zulip::common {
'version' => '1.17.3',
'sha256' => {
'amd64' => '550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c',
'aarch64' => '06f505c8d27203f78706ad04e47050b49092f1b06dc9ac4fbee4f0e4d015c8d4',
},
},
@@ -62,6 +64,7 @@ class zulip::common {
'version' => '1.1.1-rc',
'sha256' => {
'amd64' => 'eed4de63c2657add6e0fe70f8c0fbe62a4a54405b9bfc801b1912b6c4f2c7107',
# No aarch64 builds
},
},
}

View File

@@ -8,7 +8,7 @@ class zulip::golang {
zulip::external_dep { 'golang':
version => $version,
url => "https://golang.org/dl/go${version}.linux-amd64.tar.gz",
url => "https://golang.org/dl/go${version}.linux-${::architecture}.tar.gz",
tarball_prefix => 'go',
}
}