From 22152a06621e21cfa802c87e5355b3fe0ab332e7 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Tue, 4 Jan 2022 15:00:31 -0800 Subject: [PATCH] Revert "puppet: Do not assume amd64 architecture." This reverts commit 859d88f76c454aaf60dd7ed93b0e0181bfdf6337. It does not work, since the sha256 hashes are different for different architectures. arm64 support exists in `main`. --- puppet/zulip/manifests/camo.pp | 2 +- puppet/zulip/manifests/golang.pp | 2 +- puppet/zulip/manifests/postgresql_backups.pp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/puppet/zulip/manifests/camo.pp b/puppet/zulip/manifests/camo.pp index faa19504cc..e6335057aa 100644 --- a/puppet/zulip/manifests/camo.pp +++ b/puppet/zulip/manifests/camo.pp @@ -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-${::architecture}.tar.gz", + url => "https://github.com/cactus/go-camo/releases/download/v${version}/go-camo-${version}.go1171.linux-amd64.tar.gz", sha256 => '965506e6edb9d974c810519d71e847afb7ca69d1d01ae7d8be6d7a91de669c0c', tarball_prefix => "go-camo-${version}/", bin => 'bin/go-camo', diff --git a/puppet/zulip/manifests/golang.pp b/puppet/zulip/manifests/golang.pp index 68351f01e8..afc6625a6e 100644 --- a/puppet/zulip/manifests/golang.pp +++ b/puppet/zulip/manifests/golang.pp @@ -8,7 +8,7 @@ class zulip::golang { 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-amd64.tar.gz", sha256 => '550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c', tarball_prefix => 'go/', bin => 'bin/go', diff --git a/puppet/zulip/manifests/postgresql_backups.pp b/puppet/zulip/manifests/postgresql_backups.pp index 136c4fa694..e773054d24 100644 --- a/puppet/zulip/manifests/postgresql_backups.pp +++ b/puppet/zulip/manifests/postgresql_backups.pp @@ -5,7 +5,7 @@ class zulip::postgresql_backups { $wal_g_version = '0.2.15' zulip::sha256_tarball_to { 'wal-g': - url => "https://github.com/wal-g/wal-g/releases/download/v${wal_g_version}/wal-g.linux-${::architecture}.tar.gz", + url => "https://github.com/wal-g/wal-g/releases/download/v${wal_g_version}/wal-g.linux-amd64.tar.gz", sha256 => 'ea33c2341d7bfb203c6948590c29834c013ab06a28c7a2b236a73d906f785c84', install => { 'wal-g' => "/usr/local/bin/wal-g-${wal_g_version}",