projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
201444b
)
ignore faulty sensor on ProLiant SE326M1R2 too
author
Grant Slater
<git@firefishy.com>
Sat, 8 Sep 2018 23:38:52 +0000
(
00:38
+0100)
committer
Grant Slater
<git@firefishy.com>
Sat, 8 Sep 2018 23:38:52 +0000
(
00:38
+0100)
cookbooks/hardware/attributes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/hardware/attributes/default.rb
b/cookbooks/hardware/attributes/default.rb
index f270740826bb04025a5375fd62763c039f230154..2527e16224a13c5e5b720a1079145313f0518d39 100644
(file)
--- 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