]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/attributes/default.rb
Drop support for older Ubuntu versions
[chef.git] / cookbooks / hardware / attributes / default.rb
index 2527e16224a13c5e5b720a1079145313f0518d39..414983b84c644420ca738f67adae6786d9be339d 100644 (file)
@@ -1,14 +1,7 @@
-default[:hardware][:modules] = if node[:lsb][:release].to_f >= 16.04
-                                 %w[lp]
-                               else
-                                 %w[loop lp rtc]
-                               end
-
+default[:hardware][:modules] = %w[lp]
 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"