[chef] Re: Re: question on bootstrapping a particular version of chef-server


Chronological Thread 
  • From: Pranoy Rao < >
  • To:
  • Subject: [chef] Re: Re: question on bootstrapping a particular version of chef-server
  • Date: Mon, 30 Apr 2012 13:19:00 -0700

Thanks Bryan. I will try this out.

On Mon, Apr 30, 2012 at 10:16 AM, Bryan McLellan < " target="_blank"> > wrote:
On Sun, Apr 29, 2012 at 3:42 PM,  < "> > wrote:
> I am trying to find out if there is a way to bootstrap a particular version of
> chef-server using chef-solo. Currently, the Opscode wiki talks about using
> bootstrap-latest.tar.gz which gives me 0.10.8 and I would like to get 0.10.6. I
> couldn’t find any documentation on selecting a particular version.

The chef-server::rubygems-install recipe that is included in the
tarball of cookbooks in bootstrap uses the
node[:chef_packages][:chef][:version] variable to decide what version
of the chef-server gem to install.

Following the directions here:
http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo,
you would want your chef.json file that you pass to chef-solo to look
like this:

{
 "chef_packages": {
   "chef": {
     "version": "0.10.6"
   }
 },
 "chef_server": {
   "server_url": "http://localhost:4000",
   "init_style": "init"
 },
 "run_list": [ "recipe[chef-server::rubygems-install]" ]
}

Bryan




Archive powered by MHonArc 2.6.16.

§