Pin older hp-health on DL3*0 G5
[mirror/dsa-puppet.git] / modules / hardware / manifests / init.pp
index 7e474c1..e1cf5fc 100644 (file)
@@ -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"] {
+               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