vagrant@cl2:/var/chef/reports$ ll
total 332
drwxr-xr-x 2 root root 4096 2012-12-07 17:30 ./
drwxr-xr-x 5 root root 4096 2012-12-07 17:24 ../
-rw-r--r-- 1 root root 99558 2012-12-07 17:25 chef-run-report-20121207172514.json
-rw-r--r-- 1 root root 100711 2012-12-07 17:28 chef-run-report-20121207172827.json
-rw-r--r-- 1 root root 126919 2012-12-07 17:29 chef-run-report-20121207172932.json
vagrant@cl2:/var/chef/reports$ irb
irb(main):001:0> require 'json'
=> true
irb(main):002:0> require 'chef'
=> true
irb(main):003:0> r = JSON.parse(IO.read('/var/chef/reports/chef-run-report-20121207172827.json'))
TypeError: can't convert nil into String
from /usr/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/resource/template.rb:36:in `basename'
from /usr/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/resource/template.rb:36:in `initialize'
from /usr/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/resource.rb:673:in `new'
from /usr/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/resource.rb:673:in `json_create'
from /usr/lib/ruby/1.9.1/json/common.rb:146:in `parse'
from /usr/lib/ruby/1.9.1/json/common.rb:146:in `parse'
from (irb):3
from /usr/bin/irb:12:in `<main>'
irb(main):004:0>