From 3af0ef49b8a311fed71b57b6647102dac779e8cd Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Mon, 19 Nov 2018 17:47:12 +0100 Subject: [PATCH] Don't install megacli if we're not amd64 --- modules/hardware/manifests/raid/megaraid_sas.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hardware/manifests/raid/megaraid_sas.pp b/modules/hardware/manifests/raid/megaraid_sas.pp index e4bfee20b..bb5172e9b 100644 --- a/modules/hardware/manifests/raid/megaraid_sas.pp +++ b/modules/hardware/manifests/raid/megaraid_sas.pp @@ -1,5 +1,5 @@ class hardware::raid::megaraid_sas { - if $::megaraid_sas { + if ($::megaraid_sas and $::debarchitecture == "amd64") { include debian_org::apt_restricted package { 'megacli': -- 2.20.1