Don't install megacli if we're not amd64
authorJulien Cristau <jcristau@debian.org>
Mon, 19 Nov 2018 16:47:12 +0000 (17:47 +0100)
committerJulien Cristau <jcristau@debian.org>
Mon, 19 Nov 2018 16:47:12 +0000 (17:47 +0100)
modules/hardware/manifests/raid/megaraid_sas.pp

index e4bfee2..bb5172e 100644 (file)
@@ -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':