]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/hardware/manifests/init.pp
Only sync logs once per day since we are only transferring rotated logs
[dsa-puppet.git] / modules / hardware / manifests / init.pp
index 32e0c224217380660f38e42ca52cee70b1a63b2a..7e474c1e988066c42da3872c2cdcdd0c4d72a452 100644 (file)
@@ -1,9 +1,15 @@
 class hardware {
        include hardware::raid
 
-       if $::systemproductname in ["ProLiant BL495c G5", "ProLiant DL385 G1"] {
+       if "$::systemproductname" in ["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"
                }
+       } else {
+               file { '/etc/apt/preferences.d/dsa-hp-tools':
+                       ensure => absent
+               }
        }
+
+       include hardware::sensors
 }