]> git.openstreetmap.org Git - chef.git/commitdiff
Only report RAID failures once every day
authorTom Hughes <tom@compton.nu>
Wed, 6 Nov 2013 18:42:53 +0000 (18:42 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 6 Nov 2013 18:42:53 +0000 (18:42 +0000)
cookbooks/hardware/templates/default/raid.default.erb

index c54af812e71e22a673a7a6a4a862528736571e01..fb9bd31907ed27037b2bc646aa3a62e4880b8cf5 100644 (file)
@@ -1,4 +1,5 @@
 MAILTO="admins@openstreetmap.org"
+REMIND="86400"
 <% unless @devices.empty? -%>
 ID="<%= @devices.sort.uniq.map { |d| "/dev/#{d}" }.join(" ") %>"
 <% end -%>