mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Revert "puppet: Do not assume amd64 architecture."
This reverts commit 859d88f76c.  It does
not work, since the sha256 hashes are different for different
architectures.
arm64 support exists in `main`.
			
			
This commit is contained in:
		@@ -12,7 +12,7 @@ class zulip::camo (String $listen_address = '0.0.0.0') {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  zulip::external_dep { 'go-camo':
 | 
					  zulip::external_dep { 'go-camo':
 | 
				
			||||||
    version        => $version,
 | 
					    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',
 | 
					    sha256         => '965506e6edb9d974c810519d71e847afb7ca69d1d01ae7d8be6d7a91de669c0c',
 | 
				
			||||||
    tarball_prefix => "go-camo-${version}/",
 | 
					    tarball_prefix => "go-camo-${version}/",
 | 
				
			||||||
    bin            => 'bin/go-camo',
 | 
					    bin            => 'bin/go-camo',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@ class zulip::golang {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  zulip::external_dep { 'golang':
 | 
					  zulip::external_dep { 'golang':
 | 
				
			||||||
    version        => $version,
 | 
					    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',
 | 
					    sha256         => '550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c',
 | 
				
			||||||
    tarball_prefix => 'go/',
 | 
					    tarball_prefix => 'go/',
 | 
				
			||||||
    bin            => 'bin/go',
 | 
					    bin            => 'bin/go',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@ class zulip::postgresql_backups {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  $wal_g_version = '0.2.15'
 | 
					  $wal_g_version = '0.2.15'
 | 
				
			||||||
  zulip::sha256_tarball_to { 'wal-g':
 | 
					  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',
 | 
					    sha256  => 'ea33c2341d7bfb203c6948590c29834c013ab06a28c7a2b236a73d906f785c84',
 | 
				
			||||||
    install => {
 | 
					    install => {
 | 
				
			||||||
      'wal-g' => "/usr/local/bin/wal-g-${wal_g_version}",
 | 
					      'wal-g' => "/usr/local/bin/wal-g-${wal_g_version}",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user