lib/reporter/default/stats_disk.rb in onering-report-plugins-0.0.50 vs lib/reporter/default/stats_disk.rb in onering-report-plugins-0.0.51

- old
+ new

@@ -9,9 +9,11 @@ blocks = [] Facter.value('blockdevices').split(/\W+/).each do |dev| block = { + :name => dev, + :device => (File.exists?("/dev/#{dev}") ? "/dev/#{dev}" : nil), :vendor => Facter.value("blockdevice_#{dev}_vendor"), :model => Facter.value("blockdevice_#{dev}_model"), :size => (Integer(Facter.value("blockdevice_#{dev}_size")) rescue nil) }