]> git.openstreetmap.org Git - chef.git/blob - cookbooks/hardware/templates/default/smart.devices.erb
Enable discretereading workaround in ipmi_exporter for older HPs
[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] %>|sat
8 <% end -%>
9 <% end -%>