Re: chef client installation


Chronological Thread 
  • From: snacktime <snacktime@gmail.com>
  • To: chef@lists.opscode.com
  • Subject: Re: chef client installation
  • Date: Sun, 26 Apr 2009 03:07:26 -0700
  • 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; b=P+oawZz3v1NozU1Bgucl8a7ls6Tz1U3a72vwJKi5y/e/Nf3lOOEk+pHvC5RPr1+C9S DheLWTtetb3DSbYRjHaob3eSYUawnda1oI+gOzEG0q1dlZoMsqEvGkB82lHdToLtb+gc lNvjQQEmwGKWT/65RtV4EIUhGn7Qy53PTp36I=

So I've been playing with the 0.5.7 bundle.  Not sure how to handle the gem installation correctly, as it can't find the 0.5.7 version.  Since I wanted a custom installation bundle anyways I just took the 0.5.7 bundle cookbooks and put them in my own solo bundle, along with the 0.5.7 gem which I install before running chef-solo.

The only bug I've ran across so far is that runit attributes/sv_bin.rb defines the location of sv, but I think that's happening before runit is installed because it's in the attributes, so the symlinking of chef-client to /etc/init.d/chef-client fails.  I moved the definition to definitions/runit_service.rb and that works.

On Sat, Apr 25, 2009 at 10:55 PM, Joshua Timberman <joshua@opscode.com> wrote:
Hello Chris,

First, I apologize for any confusion and inconvenience.

I've updated the "Installing Chef from HEAD" page to reflect changes that 0.5.7 brings.

<http://wiki.opscode.com/display/chef/Installing+Chef+from+HEAD>

The bootstrap-0.5.6.tar.gz cookbook bundle doesn't configure clients, just server. Version 32 [1] of the main Installation page describes how to install using the older method. Do note that the 0.5.6 version will start Chef Server as a runit service, and 0.5.7+ will run Chef Server as a Rack app under Passenger+Apache. Also, we have a page that describes how to switch from a runit-based chef-server to Passenger [2].

We think the new procedure is better, as fronting chef-server with Apache+Passenger allows stronger security control.

[1] Version 32 page: <http://wiki.opscode.com/pages/viewpage.action?pageId=1835069>
[2] <http://wiki.opscode.com/display/chef/How+to+Convert+chef-server+from+runit+to+Passenger>


On Apr 25, 2009, at 9:09 PM, snacktime wrote:

Ya 0.5.7 looks like what I should be testing with, as the installation stuff looks quite a bit more complete.

On Sat, Apr 25, 2009 at 8:01 PM, Arjuna Christensen <aj@junglist.gen.nz> wrote:
I believe Josh is working through some changes on the wiki for the upcoming 0.6 release (which can be tested as 0.5.7), so this information may not necessarily be "in sync".

Regards,

AJ



On 26/04/2009, at 2:57 PM, snacktime wrote:

Still working on it, but at first glance the chef client installation as documented on the wiki is not working correctly.  It installs the server even when specifying chef::client, chef path is not set to /srv/chef as the default as stated in the readme, and the file mode in the recipe is a string, chef seems to expect an integer.  The recipes also assume that all the gem binaries are in /usr/bin.

This is version 0.5.6.

Chris



--
Joshua Timberman | www.opscode.com
joshua@opscode.com | 720.878.4322





Archive powered by MHonArc 2.6.16.

§