]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
old hp-health for dl385g1
authorPeter Palfrader <peter@palfrader.org>
Sun, 19 May 2013 10:14:44 +0000 (12:14 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 19 May 2013 10:15:00 +0000 (12:15 +0200)
modules/hardware/manifests/init.pp

index c7c7a28a11492bc17f44b48af85c5c5d17099cdf..32e0c224217380660f38e42ca52cee70b1a63b2a 100644 (file)
@@ -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"
                }
        }
 }