X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fhardware%2Fmanifests%2Fraid%2Fmegaraid_sas.pp;h=bac45119f4634527a7fe37e1068630cf2fc22aeb;hb=ff290998ae30a9763f2dc7056d68a6741541d487;hp=e728e67e25aa05f4b5ccf290fcb38d5613b6c0b7;hpb=e3b8a5e4eae28e96b6d955b4be408f8510e49c52;p=mirror%2Fdsa-puppet.git diff --git a/modules/hardware/manifests/raid/megaraid_sas.pp b/modules/hardware/manifests/raid/megaraid_sas.pp index e728e67e2..bac45119f 100644 --- a/modules/hardware/manifests/raid/megaraid_sas.pp +++ b/modules/hardware/manifests/raid/megaraid_sas.pp @@ -9,5 +9,20 @@ class hardware::raid::megaraid_sas { package { 'megacli': ensure => installed, } + + file { '/usr/local/sbin/megacli': + ensure => 'link', + target => '/opt/MegaRAID/MegaCli/MegaCli64', + } + } else { + site::aptrepo { 'debian.restricted.megaraid_sas': + ensure => absent, + } + package { 'megacli': + ensure => purged, + } + file { '/usr/local/sbin/megacli': + ensure => 'absent', + } } }