From: Peter Palfrader Date: Sun, 19 May 2013 10:14:44 +0000 (+0200) Subject: old hp-health for dl385g1 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a7a022f3a3b65297ebed071701053b0d70e05484;p=mirror%2Fdsa-puppet.git old hp-health for dl385g1 --- diff --git a/modules/hardware/manifests/init.pp b/modules/hardware/manifests/init.pp index c7c7a28a1..32e0c2242 100644 --- a/modules/hardware/manifests/init.pp +++ b/modules/hardware/manifests/init.pp @@ -1,11 +1,9 @@ class hardware { include hardware::raid - case $::systemproductname { - "ProLiant BL495c G5": { - file { '/etc/apt/preferences.d/dsa-hp-tools': - content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n" - } + if $::systemproductname in ["ProLiant BL495c G5", "ProLiant DL385 G1"] { + file { '/etc/apt/preferences.d/dsa-hp-tools': + content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n" } } }