X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fhardware%2Fmanifests%2Finit.pp;h=b505c32c9ef45c36ffcc5a15714e84560ad6eb08;hb=3dbdf2dd24fbb7748a3a192411944ad65b002056;hp=7e474c1e988066c42da3872c2cdcdd0c4d72a452;hpb=55c6cf12f1e2fdae967db9c70c3902dfa82b5481;p=mirror%2Fdsa-puppet.git diff --git a/modules/hardware/manifests/init.pp b/modules/hardware/manifests/init.pp index 7e474c1e9..b505c32c9 100644 --- a/modules/hardware/manifests/init.pp +++ b/modules/hardware/manifests/init.pp @@ -5,6 +5,10 @@ class hardware { file { '/etc/apt/preferences.d/dsa-hp-tools': content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n" } + } elsif "$::systemproductname" in ["ProLiant DL380 G5", "ProLiant DL360 G5", "ProLiant DL380 G6", "ProLiant DL360 G6", "ProLiant BL495c G5"] { + file { '/etc/apt/preferences.d/dsa-hp-tools': + content => "Package: hp-health\nPin: version 10.0.*\nPin-Priority: 1100\n" + } } else { file { '/etc/apt/preferences.d/dsa-hp-tools': ensure => absent