- From: Hedge Hog <
>
- To:
- Subject: [chef] Re: Chef 0.10 RC with Vagrant (0.7.3)
- Date: Sun, 24 Apr 2011 12:42:34 +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=MgWnpG8KgOcaNOZel2yla24zDkR89e7d4ica9l40iAXHTORxzVejn7jR3X7fuaQjEQ Ge50mHrjgMWUZmy99sEeq3OPfmwuXAk7Y2t7yo/Lyn6/sPnCtITLasol0Y4QlA1RI3oW VMxt7umFVyMI5+XR+PmqHjKtJB9R9U3mJoN4M=
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
>
>
>
> 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?
>
OK I'm not sure this is the cause, but it seems there are problems in
this commit to the 0.10.rc.0 branch of Opscodes Cookbooks:
https://github.com/opscode/cookbooks/commit/dd3ab7bfa34b891abc5fa45b6e21ef913eb8d764
It looks like an incomplete merge got pushed.
Is there another cookbooks repo we should be tracking for Chef
0.10.rc.0 related changes?
>
> --
>
> πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
>
> [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
>
--
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
[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.