X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..2678c041db64440f0a15a1178d812140d3b90eb7:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index dd4448180..a7b894680 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -225,6 +225,20 @@ ohai_plugin "lldp" do template "lldp.rb.erb" end +%w[bus cache dimm iomca page socket-memory unknown].each do |trigger| + file "/etc/mcelog/#{trigger}-error-trigger.local" do + action :delete + end +end + +service "mcelog" do + action [:stop, :disable] +end + +package "mcelog" do + action :purge +end + tools_packages = [] status_packages = {} @@ -311,6 +325,7 @@ if status_packages.include?("cciss-vol-status") systemd_service "cciss-vol-statusd" do description "Check cciss_vol_status values in the background" exec_start "/usr/local/bin/cciss-vol-statusd" + nice 10 private_tmp true protect_system "full" protect_home true