From 3369f7b293e189ffe03e6587b3f32e2e69118aae Mon Sep 17 00:00:00 2001 From: Jack Henschel Date: Tue, 4 Dec 2018 15:39:31 +0100 Subject: [PATCH] Add arm64, remove i386 compatibility from ::gluster::repo:apt Looking at the glusterfs repository at https://download.gluster.org/pub/gluster/glusterfs/, it appears that (at least going back to 3.10): a) arm64 packages are available b) i386 packages are not available Therefore, update the puppet module accordingly --- manifests/repo/apt.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/repo/apt.pp b/manifests/repo/apt.pp index a9bbcde5..9b224f6d 100644 --- a/manifests/repo/apt.pp +++ b/manifests/repo/apt.pp @@ -67,14 +67,14 @@ } } - # the Gluster repo only supports x86_64 and i386. armhf is only supported for Raspbian. The Ubuntu PPA also supports armhf and arm64. + # the Gluster repo only supports x86_64 (amd64) and arm64. The Ubuntu PPA also supports armhf and arm64. case $::operatingsystem { 'Debian': { case $::lsbdistcodename { 'jessie', 'stretch': { $arch = $::architecture ? { 'amd64' => 'amd64', - /i\d86/ => 'i386', + 'arm64' => 'arm64', default => false, } if versioncmp($release, '3.12') < 0 {