X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9881ff1479932d6519325ecafc7eaed67838235b..a19f9c4c8ce5cbc8b5b73d2d33de98bae686176b:/cookbooks/hardware/templates/default/raid.default.erb diff --git a/cookbooks/hardware/templates/default/raid.default.erb b/cookbooks/hardware/templates/default/raid.default.erb index e72dc9c80..fb9bd3190 100644 --- a/cookbooks/hardware/templates/default/raid.default.erb +++ b/cookbooks/hardware/templates/default/raid.default.erb @@ -1 +1,5 @@ -MAILTO=admins@openstreetmap.org +MAILTO="admins@openstreetmap.org" +REMIND="86400" +<% unless @devices.empty? -%> +ID="<%= @devices.sort.uniq.map { |d| "/dev/#{d}" }.join(" ") %>" +<% end -%>