X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/f963ff457182611c62036674840eb588b48fd704..1482fd1105597fca4262ace6ef2a9016aa228a24:/cookbooks/hardware/templates/default/munin.smart.erb diff --git a/cookbooks/hardware/templates/default/munin.smart.erb b/cookbooks/hardware/templates/default/munin.smart.erb index 8a09c838f..e1a98501a 100644 --- a/cookbooks/hardware/templates/default/munin.smart.erb +++ b/cookbooks/hardware/templates/default/munin.smart.erb @@ -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 -%>