-%w[bus cache dimm iomca page socket-memory unknown].each do |trigger|
- template "/etc/mcelog/#{trigger}-error-trigger.local" do
- source "mcelog-trigger.erb"
- owner "root"
- group "root"
- mode 0o755
+ %w[bus cache dimm iomca page socket-memory unknown].each do |trigger|
+ template "/etc/mcelog/#{trigger}-error-trigger.local" do
+ source "mcelog-trigger.erb"
+ owner "root"
+ group "root"
+ mode 0o755
+ end
-service "mcelog" do
- action [:start, :enable]
- supports :status => true, :restart => true, :reload => false
+ service "mcelog" do
+ action [:start, :enable]
+ supports :status => true, :restart => true, :reload => false
+ end
# an Areca controller as they only allow one thing to
# talk to the controller at a time and smartd will
# throw errors if it clashes with munin
# an Areca controller as they only allow one thing to
# talk to the controller at a time and smartd will
# throw errors if it clashes with munin