[chef] Re: Re: Chef 0.10 RC with Vagrant (0.7.3)


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Chef 0.10 RC with Vagrant (0.7.3)
  • Date: Wed, 27 Apr 2011 22:22:34 -0700

On Sunday, April 24, 2011 at 3:14 AM, Hedge Hog wrote:

On Sun, Apr 24, 2011 at 12:42 PM, Hedge Hog < "> > wrote:
On Fri, Apr 22, 2011 at 4:45 PM, Hedge Hog < "> > wrote:
On Fri, Apr 22, 2011 at 3:26 PM, Hedge Hog < "> > wrote:
Hi,
I'm running into issues with Chef 0.10.0rc.0

I use this vagrant file:
https://gist.github.com/936071

I repackage my Vagrant base box after updating it with:
sudo gem install chef --pre --no-ri --no-rdoc

On running `vagrant up chef` I get the error shown in the gist:
https://gist.github.com/936071

Furthermore, neither of these folders are present on the VM:
/tmp/vagrant-chef/cookbooks-0
/tmp/vagrant-chef/cookbooks-1

If instead I ssh to the VM and run:
cd /tmp/vagrant-chef
sudo chef-solo -j dna.json -c solo.rb -r
https://s3.amazonaws.com/chef-solo/bootstrap-0.10.0.rc.0.tar.gz

I get this error:
https://gist.github.com/936088

This is caused by either:
1. Your cookbook_path config setting is empty
or 
2. Your cookbook_path doesn't have a directory named `cookbooks` in it.

#2 Seems designed to install the remote cookbooks into your "cookbooks" directory if you have both "cookbooks" and "site-cookbooks" configured in your cookbook_path but obviously both the implementation and the error messaging could be improved.

-- 
Dan DeLeo




Archive powered by MHonArc 2.6.16.

§