Generated metadata.json from metadata.rb
make sure the /var/chef/cache directory exists before using it
Merge pull request #2 from arangamani/master

Changes made for the cookbook to work with RightScale platform Edit