]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/hardware/manifests/init.pp
Apply Aurelien's nfs patch to the dsa-check-libs copy in puppet also
[dsa-puppet.git] / modules / hardware / manifests / init.pp
1 class hardware {
2         include hardware::raid
3
4         if "$::systemproductname" in ["ProLiant DL385 G1", "ProLiant DL380 G4", "ProLiant DL360 G4"] {
5                 file { '/etc/apt/preferences.d/dsa-hp-tools':
6                         content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n"
7                 }
8         } else {
9                 file { '/etc/apt/preferences.d/dsa-hp-tools':
10                         ensure => absent
11                 }
12         }
13
14         include hardware::sensors
15 }