]> git.openstreetmap.org Git - chef.git/commitdiff
Add mcelog daemon
authorGrant Slater <git@firefishy.com>
Mon, 13 Nov 2017 15:06:35 +0000 (15:06 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 13 Nov 2017 15:06:35 +0000 (15:06 +0000)
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 = {}