ignore faulty sensor on ProLiant SE326M1R2 too
authorGrant Slater <git@firefishy.com>
Sat, 8 Sep 2018 23:38:52 +0000 (00:38 +0100)
committerGrant Slater <git@firefishy.com>
Sat, 8 Sep 2018 23:38:52 +0000 (00:38 +0100)
cookbooks/hardware/attributes/default.rb

index f270740826bb04025a5375fd62763c039f230154..2527e16224a13c5e5b720a1079145313f0518d39 100644 (file)
@@ -15,7 +15,7 @@ if node[:dmi] && node[:dmi][:system]
     default[:apt][:sources] |= ["management-component-pack"]
 
     case node[:dmi][:system][:product_name]
-    when "ProLiant DL360 G6", "ProLiant DL360 G7"
+    when "ProLiant DL360 G6", "ProLiant DL360 G7", "ProLiant SE326M1R2"
       default[:hardware][:sensors][:"power_meter-*"][:power][:power1] = { :ignore => true }
     end
   end