Skip to content

Commit eebf65a

Browse files
authored
Merge pull request #6 from danielparks/arm
(#2) Better ARM support
2 parents bf18f6f + 44056f1 commit eebf65a

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Release 1.0.3
6+
7+
**Features**
8+
9+
* [#2](https://github.com/danielparks/puppet-golang/issues/2): support
10+
convenient installation on Raspberry Pi 2B and 3B.
11+
12+
**Bugfixes**
13+
14+
* [#2](https://github.com/danielparks/puppet-golang/issues/2): default to the
15+
correct 64-bit ARM binary on 64 bit ARM, e.g. on the Raspberry Pi 4.
16+
517
## Release 1.0.2
618

719
**Features**

manifests/init.pp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
},
2929
String[1] $arch = $facts['os']['hardware'] ? {
3030
undef => 'amd64', # Assume amd64 if os.hardware is missing.
31-
'x86_64' => 'amd64',
31+
'aarch64' => 'arm64',
32+
'armv7l' => 'armv6l',
3233
'i686' => '386',
33-
'aarch64' => 'armv6l',
34+
'x86_64' => 'amd64',
3435
default => $facts['os']['hardware'],
3536
},
3637
String[1] $source = "${source_prefix}/go${version}.${os}-${arch}.tar.gz",

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dp-golang",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"author": "Daniel Parks",
55
"summary": "Install Go simply",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)