From 319f87ea37e10158584c920061d0ab6559d759b2 Mon Sep 17 00:00:00 2001 From: Jens-Uwe Dyffort Date: Wed, 26 Jul 2023 10:37:58 +0200 Subject: [PATCH 1/2] allow to run on macOS M2 arm architecture --- CHANGELOG.md | 4 ++++ manifests/init.pp | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27d47a76..93897132 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module. +## [v13.1.1] + +- allow to run on macOS M2 arm architecture + ## [v13.1.0](https://github.com/voxpupuli/puppet-prometheus/tree/v13.1.0) (2023-07-13) [Full Changelog](https://github.com/voxpupuli/puppet-prometheus/compare/v13.0.0...v13.1.0) diff --git a/manifests/init.pp b/manifests/init.pp index 54a0a798..b52536e1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -312,6 +312,7 @@ 'x86_64', 'amd64': { $real_arch = 'amd64' } 'i386': { $real_arch = '386' } 'aarch64': { $real_arch = 'arm64' } + 'arm64': { $real_arch = 'arm64' } 'armv7l': { $real_arch = 'armv7' } 'armv6l': { $real_arch = 'armv6' } 'armv5l': { $real_arch = 'armv5' } From 3b8f17a38d1b36c6d53338f2cac5c41cad9f3b38 Mon Sep 17 00:00:00 2001 From: Jens-Uwe Dyffort Date: Wed, 2 Aug 2023 11:20:40 +0200 Subject: [PATCH 2/2] run node_exporter in rosetta mode --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index b52536e1..dccfd291 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -312,7 +312,7 @@ 'x86_64', 'amd64': { $real_arch = 'amd64' } 'i386': { $real_arch = '386' } 'aarch64': { $real_arch = 'arm64' } - 'arm64': { $real_arch = 'arm64' } + 'arm64': { $real_arch = 'amd64' } 'armv7l': { $real_arch = 'armv7' } 'armv6l': { $real_arch = 'armv6' } 'armv5l': { $real_arch = 'armv5' }