]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/hardware/manifests/init.pp
hardware sensors munin plugin restart munin-async daemon
[dsa-puppet.git] / modules / hardware / manifests / init.pp
index b09bf929e48db4cefb8bd35ae08c6359e2fab7a4..8b9da9d4d2a4c8e5acc5e6e2e59a49f033a43086 100644 (file)
@@ -1,11 +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"
-                       }
+       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"
                }
        }
+
+       include hardware::sensors
 }