projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5130b32
)
Don't try and enable mcelog on Ubuntu 18.04
author
Tom Hughes
<tom@compton.nu>
Thu, 7 Jun 2018 14:13:15 +0000
(15:13 +0100)
committer
Tom Hughes
<tom@compton.nu>
Thu, 7 Jun 2018 14:13:15 +0000
(15:13 +0100)
cookbooks/hardware/attributes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/hardware/attributes/default.rb
b/cookbooks/hardware/attributes/default.rb
index fb19506f4be941901385794c0a9133645ff738c5..f270740826bb04025a5375fd62763c039f230154 100644
(file)
--- a/
cookbooks/hardware/attributes/default.rb
+++ b/
cookbooks/hardware/attributes/default.rb
@@
-7,7
+7,7
@@
default[:hardware][:modules] = if node[:lsb][:release].to_f >= 16.04
default[:hardware][:grub][:cmdline] = %w[nomodeset]
default[:hardware][:sensors] = {}
-default[:hardware][:mcelog][:enabled] =
true
+default[:hardware][:mcelog][:enabled] =
node[:lsb][:release].to_f < 18.04
if node[:dmi] && node[:dmi][:system]
case node[:dmi][:system][:manufacturer]