try quoting it
[mirror/dsa-puppet.git] / modules / hardware / manifests / init.pp
index 0ab1eb3..921eef8 100644 (file)
@@ -1,7 +1,7 @@
 class hardware {
        include hardware::raid
 
-       if $::systemproductname in ["ProLiant BL495c G5", "ProLiant DL385 G1", "ProLiant DL380 G4"] {
+       if "$::systemproductname" in ["ProLiant BL495c G5", "ProLiant DL385 G1", "ProLiant DL380 G4"] {
                file { '/etc/apt/preferences.d/dsa-hp-tools':
                        content => "Package: hp-health\nPin: version 8.6*\nPin-Priority: 1100\n"
                }