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