From: Julien Cristau Date: Mon, 19 Nov 2018 16:47:12 +0000 (+0100) Subject: Don't install megacli if we're not amd64 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=3af0ef49b8a311fed71b57b6647102dac779e8cd;p=mirror%2Fdsa-puppet.git Don't install megacli if we're not amd64 --- 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':