]> git.openstreetmap.org Git - chef.git/blob - cookbooks/hardware/templates/default/smartd.conf.erb
Fix bug parsing HP RAID controller output
[chef.git] / cookbooks / hardware / templates / default / smartd.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2   
3 <% @disks.each do |disk| -%>
4 <% if disk[:driver] -%>
5 /dev/<%= disk[:device] %> -d <%= disk[:driver] %>,<%= disk[:id] %> -s S/../../7/02 -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer
6 <% else -%>
7 /dev/<%= disk[:device] %> -s S/../../7/02 -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer
8 <% end -%>
9 <% end -%>