Skip to content

Commit

Permalink
Merge pull request #189 from jacksgt/arm-support
Browse files Browse the repository at this point in the history
Add arm64, remove i386 compatibility from ::gluster::repo:apt
  • Loading branch information
bastelfreak authored Dec 29, 2018
2 parents 363405b + 3369f7b commit d0c701c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/repo/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@
fail("${version} doesn't make sense for ${::operatingsystem}!")
}

# 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 {
Expand Down

0 comments on commit d0c701c

Please sign in to comment.