Cannot find `metadata.rb` when using specifying `cookbook.metadata` in `Buildfile`.
Closed this issue · 3 comments
athompson-r7 commented
Cannot find metadata.rb
when using specifying cookbook.metadata
in Buildfile
.
An error occurred while reading the Berksfile:
Could not open or read: '/Users/athompson/code/chef/chef-rapid7-ruby/.builderator/metadata.rb'
jmanero-r7 commented
Yeah, that feature's never going to work because of the way builderator wraps Berkshelf now. The metadata
Berksfile method instructs Berkshelf to look in the same directory as the Berksfile for a metadata.rb. Because we generate a Berksfile in a sub-directory, there'll never be a metadata.rb file to load.
Instead, add a cookbook with a relative path.
athompson-r7 commented
@jmanero-r7 was this fixed by #68?
athompson-r7 commented
Closing this