From: Peter Palfrader Date: Wed, 7 Nov 2018 18:11:47 +0000 (+0100) Subject: megaraid_sas X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1880a0ed4cd8dca05733a088b65cf98b0591527e;p=mirror%2Fdsa-puppet.git megaraid_sas --- diff --git a/modules/hardware/manifests/raid.pp b/modules/hardware/manifests/raid.pp index a31fcabc1..1dac055b6 100644 --- a/modules/hardware/manifests/raid.pp +++ b/modules/hardware/manifests/raid.pp @@ -6,4 +6,5 @@ class hardware::raid { } include hardware::raid::raidmpt + include hardware::raid::megaraid_sas } diff --git a/modules/hardware/manifests/raid/megaraid_sas.pp b/modules/hardware/manifests/raid/megaraid_sas.pp new file mode 100644 index 000000000..e28918cd1 --- /dev/null +++ b/modules/hardware/manifests/raid/megaraid_sas.pp @@ -0,0 +1,13 @@ +class hardware::raid::dell { + if $::megaraid_sas { + site::aptrepo { 'debian.restricted': + url => 'http://db.debian.org/debian-admin', + suite => 'stretch-restricted', + components => 'non-free', + } + + package { 'megacli': + ensure => installed, + } + } +}