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


Chronological Thread 
  • From: Hedge Hog < >
  • To:
  • Subject: [chef] Re: Chef 0.10 RC with Vagrant (0.7.3)
  • Date: Fri, 22 Apr 2011 16:45:31 +1000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MnbFfDpJSkBQsqAupc3C+n/xBw/R/FxoiDuucoeoncWPtWHXEDMYc6NECranh8USNq Fnb0hCZJHkukWq0SbBrrxsOPTkrT+qBnUfL5nE5+0vWb3IqlSpFHrCVPsDfpbqiy9T2L xSPq3IFqOS/EZNQg1ufe2gD6Ll3aHI6BFJSI8=

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
>
> Appreciate any hints or tips.
>

the workaround is to mount these fodlers onto your local cookbooks and
site-cookbooks floders:

  config.vm.define :chef do |csc|
       <snip>
        csc.vm.share_folder("chef-cookbooks-0",
"/tmp/vagrant-chef/cookbooks-0", 
" /site-cookbooks"
 )
        csc.vm.share_folder("chef-cookbooks-1",
"/tmp/vagrant-chef/cookbooks-1", 
" /cookbooks"
 )
  end
Then things proceed to this error:

https://gist.github.com/936179

Any thoughts?

> --
> πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
> [The fox knows many things, but the hedgehog knows one big thing.]
>   Archilochus, Greek poet (c. 680 BC – c. 645 BC)
> http://wiki.hedgehogshiatus.com
>



-- 
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
  Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://wiki.hedgehogshiatus.com



Archive powered by MHonArc 2.6.16.

§