]> 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 393dd0317dbec45a23510bd8dc3924f4862a04b6..f270740826bb04025a5375fd62763c039f230154 100644 (file)
@@ -7,6 +7,8 @@ default[:hardware][:modules] = if node[:lsb][:release].to_f >= 16.04
 default[:hardware][:grub][:cmdline] = %w[nomodeset]
 default[:hardware][:sensors] = {}
 
+default[:hardware][:mcelog][:enabled] = node[:lsb][:release].to_f < 18.04
+
 if node[:dmi] && node[:dmi][:system]
   case node[:dmi][:system][:manufacturer]
   when "HP"