X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/327d24752df2584f8d09837a8d30d60e901546fc..d6c3c3bc6b45204974784125bd0843a0b28ce9aa:/cookbooks/hardware/templates/default/munin.hddtemp.erb?ds=sidebyside diff --git a/cookbooks/hardware/templates/default/munin.hddtemp.erb b/cookbooks/hardware/templates/default/munin.hddtemp.erb index 1263fa7b3..9d5e4958e 100644 --- a/cookbooks/hardware/templates/default/munin.hddtemp.erb +++ b/cookbooks/hardware/templates/default/munin.hddtemp.erb @@ -4,7 +4,7 @@ env.drives <%= @disks.map { |d| d[:hddtemp] }.sort.join(" ") %> <% @disks.sort_by { |d| d[:hddtemp] }.each do |disk| -%> <% if disk[:smart] -%> -env.type_<%= disk[:hddtemp] %> <%= disk[:smart] %> %> +env.type_<%= disk[:hddtemp] %> <%= disk[:smart] %> <% end -%> env.dev_<%= disk[:hddtemp] %> <%= disk[:device] %> <% end -%>