]> git.openstreetmap.org Git - chef.git/blob - cookbooks/hardware/templates/default/smart.devices.erb
Monitor battery/capacitor status for HP RAID controller
[chef.git] / cookbooks / hardware / templates / default / smart.devices.erb
1 <% @disks.each do |disk| -%>
2 <% if disk[:smart] -%>
3 /dev/<%= disk[:device] %>|<%= disk[:smart] %>
4 <% elsif disk[:device] =~ /nvme/ -%>
5 /dev/<%= disk[:device] %>|nvme
6 <% else -%>
7 /dev/<%= disk[:device] %>|auto
8 <% end -%>
9 <% end -%>