]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/attributes/default.rb
Set force_ssl for piwik
[chef.git] / cookbooks / hardware / attributes / default.rb
index fb19506f4be941901385794c0a9133645ff738c5..f270740826bb04025a5375fd62763c039f230154 100644 (file)
@@ -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]