old hp-health for dl385g1
[mirror/dsa-puppet.git] / modules / hardware / manifests / init.pp
index c7c7a28..32e0c22 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"
                }
        }
 }