]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Workaround apparent bug in chef-client 16.5
[chef.git] / cookbooks / hardware / recipes / default.rb
index 7799058e1d8875a4f4270a619ed2a63c6592de4e..c5b5ac226ef6d42c51a9c717d5e347ea0660da7f 100644 (file)
@@ -402,6 +402,13 @@ disks = disks.compact.uniq
 if disks.count.positive?
   package "smartmontools"
 
+  template "/etc/cron.daily/update-smart-drivedb" do
+    source "update-smart-drivedb.erb"
+    owner "root"
+    group "root"
+    mode "755"
+  end
+
   template "/usr/local/bin/smartd-mailer" do
     source "smartd-mailer.erb"
     owner "root"