Local path names should work fine as URLs for the recipe bundle argument--we do this all the time (albeit with an old version of Chef).
However, I think chef-solo expects the tarball you give it to have a directory structure of the form
cookbooks/
|---- cbname1/
| |--attributes/ ... etc
...
|---- cbname2/
| |--attributes/
...
In other words, if your resolver-0.82.tar.gz just extracts into a single directory resolver/, or even dumps the metadata.rb, attributes/, recipes/ etc entries into the current directory, you need to make a new tarball which has that cookbook within a toplevel cookbooks/ directory, with cookbooks/resolver/ under that.
See the Rakefile task for bundling cookbooks for details...
Michael
On Thu, Feb 24, 2011 at 6:06 PM, Jonathan Matthews < "> > wrote:
On 25 February 2011 01:52, Eric Yang < "> > wrote:
> Chef-solo –j node.json –r resolver-0.8.2.tar.gz
That doesn't look like a URL to me.
From the wiki page you cited: "-r, --recipe-url RECIPE_URL"
Jonathan
--
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html
Archive powered by MHonArc 2.6.16.