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