]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Fix typo
[chef.git] / cookbooks / hardware / recipes / default.rb
index d4c8d047037dc6650c7c52c1c7a90620cfd61dcb..364be85c13a4a95769706ac14d3329613ded1b79 100644 (file)
@@ -430,7 +430,7 @@ else
 end
 
 plugins = Dir.glob("/etc/munin/plugins/smart_*").map { |p| File.basename(p) } -
-          disks.map { |d| "smart_#{d[:munin_name]}" }
+          disks.map { |d| "smart_#{d[:munin]}" }
 
 plugins.each do |plugin|
   munin_plugin plugin do