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 = []
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