X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fhardware%2Fmanifests%2Fraid%2Fproliant.pp;h=a546aee857f5980d7790ecce96188d1b30e613d7;hb=cefc704c6ba62d49487565d06cc00ce2aa03311d;hp=0f20e6fc7726b65c61a414b073776f0e669bcb7b;hpb=74adba2a70780296754b7b51430ec8fa47d9e97f;p=mirror%2Fdsa-puppet.git diff --git a/modules/hardware/manifests/raid/proliant.pp b/modules/hardware/manifests/raid/proliant.pp index 0f20e6fc7..a546aee85 100644 --- a/modules/hardware/manifests/raid/proliant.pp +++ b/modules/hardware/manifests/raid/proliant.pp @@ -2,7 +2,7 @@ class hardware::raid::proliant { site::aptrepo { 'debian.restricted': url => 'http://db.debian.org/debian-admin', - suite => 'lenny-restricted', + suite => "${::lsbdistcodename}-restricted", components => 'non-free', } @@ -10,9 +10,11 @@ class hardware::raid::proliant { ensure => installed, tag => extra_repo, } - package { 'hp-health': - ensure => installed, - tag => extra_repo, + if !("$::systemproductname" in ["ProLiant DL180 G5", "ProLiant DL120 G5"]) { + package { 'hp-health': + ensure => installed, + tag => extra_repo, + } } if $::debarchitecture == 'amd64' {