X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/feb6a00ff7472578d07afc39fbc0eded52245727..6d4344a0b4300fd8210ee0b1e2af90d1ddfa9072:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 23e0d2105..a77908cf4 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -225,18 +225,17 @@ 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 +package %w[ + rasdaemon + ruby-sqlite3 +] -service "mcelog" do - action [:stop, :disable] +service "rasdaemon" do + action [:enable, :start] end -package "mcelog" do - action :purge +prometheus_exporter "rasdaemon" do + port 9797 end tools_packages = [] @@ -325,6 +324,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