]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/munin.smart.erb
Treat sata_mv and sata_nv as "direct" disk controllers
[chef.git] / cookbooks / hardware / templates / default / munin.smart.erb
index 8a09c838f94e438b92c75680bedf6485403599eb..e1a98501a2b49c3a4f2393fceffc8c97f8889fdb 100644 (file)
@@ -1,8 +1,8 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 [smart_<%= @disk[:munin] %>]
-<% if @disk[:driver] -%>
-env.smartargs -H -d <%= @disk[:driver] %>,<%= @disk[:id] %>
+<% if @disk[:smart] -%>
+env.smartargs -H -d <%= @disk[:smart] %>
 <% else -%>
 env.smartargs -H
 <% end -%>