X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f963ff457182611c62036674840eb588b48fd704..5844c5bc2edf22e4d6a4316f887adf758584a008:/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..1908f8e93 100644 --- a/cookbooks/hardware/templates/default/munin.smart.erb +++ b/cookbooks/hardware/templates/default/munin.smart.erb @@ -1,8 +1,9 @@ # 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 -%> +env.ignoreexit 4