try to set up pinning
[mirror/dsa-puppet.git] / modules / hardware / manifests / init.pp
index 4865c9e..b09bf92 100644 (file)
@@ -1,3 +1,11 @@
 class hardware {
        include hardware::raid
+
+       case $::systemproductname {
+               "ProLiant BL495c G5": {
+                       file { '/etc/apt/preferences.d/dsa-hp-tools':
+                               content => "Package: hp-health\n: version 8.6*\nPin-Priority: 1100\n"
+                       }
+               }
+       }
 }