]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/munin.smart.erb
Use ohai disk information to configure smartd and munin
[chef.git] / cookbooks / hardware / templates / default / munin.smart.erb
index 8a09c838f94e438b92c75680bedf6485403599eb..7fd1a0117b7612bf23c4d89b647959ba0f917583 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 -%>