X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=inline;f=modules%2Fhardware%2Fmanifests%2Finit.pp;h=8b9da9d4d2a4c8e5acc5e6e2e59a49f033a43086;hb=6d6e46fc8ef35efc401a85357585bb9c21258295;hp=4865c9e41dc7b82c2d8694b1cac3efbe204fe3d3;hpb=40ccbb8afd9beaa8f41ee20d19aabe13dcd4f509;p=mirror%2Fdsa-puppet.git diff --git a/modules/hardware/manifests/init.pp b/modules/hardware/manifests/init.pp index 4865c9e41..8b9da9d4d 100644 --- a/modules/hardware/manifests/init.pp +++ b/modules/hardware/manifests/init.pp @@ -1,3 +1,11 @@ class hardware { include hardware::raid + + 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 }