]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Add mcelog daemon
[chef.git] / cookbooks / hardware / recipes / default.rb
index a0544149c4a9e0543fc4fb5f96ef2aedeb4baf10..ebda56f43955589806a67d4a8739291163567ba5 100644 (file)
@@ -200,6 +200,13 @@ service "lldpd" do
   supports :status => true, :restart => true, :reload => true
 end
 
   supports :status => true, :restart => true, :reload => true
 end
 
+# mcelog Daemon to log / alert on machine check events
+package "mcelog"
+service "mcelog" do
+  action [:start, :enable]
+  supports :status => true, :restart => true, :reload => false
+end
+
 tools_packages = []
 status_packages = {}
 
 tools_packages = []
 status_packages = {}