X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9881ff1479932d6519325ecafc7eaed67838235b..a91c61773edb6840c0255f40389b3b3004c7856a:/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 -%>