- From: Phil Mocek <
>
- To:
- Subject: [chef] Re: bootstrapping Chef server fails with "no valid gem 'chef-server-api' (= 11.0.0)"
- Date: Mon, 4 Feb 2013 16:10:46 -0800
On Mon, Feb 04, 2013 at 04:13:37PM -0700, Joshua Timberman wrote:
>
We haven't released to the community site the chef-server
>
cookbook version for chef 11.
>
>
You can get it from the GitHub repository. We will release the
>
new version (2.0.0) later today.Â
Thanks for the tip.
Unfortunately, it seems the problem is that
<
http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz> still
contains the obsolete cookbook. I put a copy of chef-server
cookbook 2.0.0 in the location where chef-solo is configured to
expect cookbooks:
>
>
:~#
>
> grep ^cookbook /etc/chef/solo.rb
>
> cookbook_path "/tmp/chef-solo/cookbooks"
>
>
:~#
>
> grep ^version /tmp/chef-solo/cookbooks/chef-server/metadata.rb
>
> version "1.1.1"
>
>
:~#
>
> cd /tmp/chef-solo/cookbooks/
>
>
:/tmp/chef-solo/cookbooks#
>
> rm -rf chef-server
>
>
:/tmp/chef-solo/cookbooks#
>
> git clone git://github.com/opscode-cookbooks/chef-server.git
>
> Cloning into 'chef-server'...
>
> remote: Counting objects: 460, done.
>
> remote: Compressing objects: 100% (240/240), done.
>
> remote: Total 460 (delta 233), reused 407 (delta 188)
>
> Receiving objects: 100% (460/460), 87.39 KiB, done.
>
> Resolving deltas: 100% (233/233), done.
>
>
:/tmp/chef-solo/cookbooks#
>
> cd -
>
>
:~#
>
> grep ^version /tmp/chef-solo/cookbooks/chef-server/metadata.rb
>
> version "2.0.0"
I again ran:
>
> chef-solo -c /etc/chef/solo.rb -j /etc/chef/chef.json -r
>
> http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz
And I observed the same failure.
Is there a more reliable method of bootstrapping a Chef server?
Alternatively, what would I need to modify in order to install a
version of Chef server that is compatible with the chef-server
cookbook in the bootstrap-latest archive?
Again: I'm following [directions on the Opscode wiki][1]. I
don't see any server installation documentation on the [docs
site][2].
References:
[1]:
<
http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo#InstallingChefServerusingChefSolo-BootstrapChefServer>
[2]: <
http://docs.opscode.com/#the-chef-server>
--
Phil Mocek
http://mocek.org/
Archive powered by MHonArc 2.6.16.