]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/hardware/manifests/init.pp
Automatically load tun on ganeti nodes
[dsa-puppet.git] / modules / hardware / manifests / init.pp
index bc5897e54e9047120c196a1422eb8ee28795695b..0e3de20f8102b6445275a782d9fd1b4b841f1b91 100644 (file)
@@ -1,14 +1,9 @@
 class hardware {
-       if $::smartarraycontroller {
-               include debian::proliant
-       }
-
-       if $::productname == 'PowerEdge 2850' {
-               include megactl
-       }
+       include hardware::raid
 
-       if $::mptraid {
-               include raidmpt
+       if "$::systemproductname" in ["ProLiant BL495c G5", "ProLiant DL385 G1", "ProLiant DL380 G4", "ProLiant DL360 G4"] {
+               file { '/etc/apt/preferences.d/dsa-hp-tools':
+                       content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n"
+               }
        }
-
 }