X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f963ff457182611c62036674840eb588b48fd704..df083ed13f74574e55a679e7748cc3e937821cda:/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