From: Grant Slater Date: Sat, 8 Sep 2018 23:38:52 +0000 (+0100) Subject: ignore faulty sensor on ProLiant SE326M1R2 too X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/274f9961096e1a06da571a7db1acc5ba969afbe5?hp=201444b3bed16f257ed65b18e22d192c9460d661 ignore faulty sensor on ProLiant SE326M1R2 too --- diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index f27074082..2527e1622 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -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