X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fhardware%2Fmanifests%2Fraid%2Fmegaraid_sas.pp;h=f208682cc46b282098c8ccde904248341ffee0e9;hb=c888c37605afc9df975cb77e237a054af392163a;hp=e4bfee20bea6fec7722b0c00add1d8c6a7386bd9;hpb=2556124d53a7f3cf725a53b9dab821036e144b6b;p=mirror%2Fdsa-puppet.git diff --git a/modules/hardware/manifests/raid/megaraid_sas.pp b/modules/hardware/manifests/raid/megaraid_sas.pp index e4bfee20b..f208682cc 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': @@ -18,7 +18,7 @@ class hardware::raid::megaraid_sas { ensure => 'absent', } } - site::aptrepo { 'debian.restricted.megaraid_sas': + base::aptrepo { 'debian.restricted.megaraid_sas': ensure => absent, } }