]> git.openstreetmap.org Git - chef.git/commitdiff
Fix typo
authorTom Hughes <tom@compton.nu>
Sat, 14 Mar 2015 00:43:27 +0000 (00:43 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 14 Mar 2015 00:43:27 +0000 (00:43 +0000)
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