Installing chef server

Hi,

I have a VM with ubuntu 11.10. Can I install chef-server simply by using
apt-get install chef-server? Or, is it better to follow all the
instructions in opscode site?

Thanks

Kelly

On 9 Dec 2011, at 17:15, Kelly Goedert wrote:

Hi,

I have a VM with ubuntu 11.10. Can I install chef-server simply by using apt-get install chef-server? Or, is it better to follow all the instructions in opscode site?

Thanks

Kelly

Last time I checked (which was 10.04) the version in apt was very old - you're better off following the instructions on the site.

I run Ubuntu 10.04 LTS for both my chef-server and clients.... If you follow the opscode install instructions (you can pretty much copy/paste them verbatim) http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

It adds the opscode apt repository, so you get the latest stable version, and can update/upgrade via apt as well.

On Dec 9, 2011, at 11:23 AM, Ash Berlin wrote:

On 9 Dec 2011, at 17:15, Kelly Goedert wrote:

Hi,

I have a VM with ubuntu 11.10. Can I install chef-server simply by using apt-get install chef-server? Or, is it better to follow all the instructions in opscode site?

Thanks

Kelly

Last time I checked (which was 10.04) the version in apt was very old - you're better off following the instructions on the site.

On Fri, Dec 9, 2011 at 12:15 PM, Kelly Goedert kelly.goedert@gmail.com wrote:

I have a VM with ubuntu 11.10. Can I install chef-server simply by using
apt-get install chef-server? Or, is it better to follow all the instructions
in opscode site?

You can use apt, but you'll need to use our repository. Our release
cycle is faster than Ubuntu's so we've put on hold getting it into
upstream.

http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

Bryan

Kelley - I have not had an opportunity to do root cause analysis on my recent issues with chef installation from the apt repo, but I can share the following problems and their resolution:

  1. RabbitMQ does not seem to want to start on Ubuntu 10.04. I resolved this by installing the latest DEB from the rabbit MQ website.
  2. After installing the latest RabbitMQ, I had to update my hostname to an address that was resolvable (silly me). After that RabbitMQ Starts fine.
  3. I installed chef from the apt repo.
  4. http://tickets.opscode.com/browse/CHEF-2346. Read and apply the fi suggested by Grzegorz Marszałek. Otherwise search may be inaccurate.
  5. Ready to go!

Note that if you end up having to remove and re-install chef, I found that the chef user and vhost in rabbitmq seem to stick around. This will cause the re-install to fail.
See the rabbitMQ man page for details on how to delete users and vhosts: http://www.rabbitmq.com/man/rabbitmqctl.1.man.html

Paul

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Friday, December 09, 2011 9:26 AM
To: chef@lists.opscode.com
Subject: [chef] Re: installing chef server

On Fri, Dec 9, 2011 at 12:15 PM, Kelly Goedert kelly.goedert@gmail.com wrote:

I have a VM with ubuntu 11.10. Can I install chef-server simply by
using apt-get install chef-server? Or, is it better to follow all the
instructions in opscode site?

You can use apt, but you'll need to use our repository. Our release cycle is faster than Ubuntu's so we've put on hold getting it into upstream.

http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

Bryan

On Fri, Dec 9, 2011 at 12:29 PM, Sebastian Boehm
sebastian@sometimesfood.org wrote:

It would be great to have a more current version in the next Ubuntu
release (LTS), but so far there was no reaction to the corresponding
Debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646399

Are you a DD or have you been a package maintainer before? If you
aren't a DD, we have a couple in the community that would likely
sponsor packages for you, or you can work with the Debian Ruby team.

  • Verify the packages listed in CHEF-2249 [1] include all of the
    dependencies of Chef
    Edit the ticket to bring it up to date

  • Verify the packages listed in CHEF-2249 [1] are included in debian/sid
    Edit the ticket to indicate which packages need work
    The Ruby team for Debian has been migrating to gem2deb [2] and may
    not have completed all the packages
    Help them transition packages [2]. Some work may already be done in
    our packaging repository.

  • Prepare the Chef packages
    I build the 0.10 packages around gem2deb, but they probably aren't
    lintian clean and will likely need some work to meet debian policy
    again
    If you get here, let me know and I'll pull some memories out of my
    head about what should be looked at first.

Bryan

[1] http://tickets.opscode.com/browse/CHEF-2249
[2] http://wiki.debian.org/Teams/Ruby/Packaging
[3] GitHub - chef-boneyard/opscode-packages: Packages of Opscode Software for various platforms

If your doing a pxe install you can import the key and chef repo on the post install and do the install from there. If you want to go further a local mirror of the Opscode repo is always nice to have.

The same file that provides the preseed just needs to be updated.

On Dec 9, 2011, at 2:29 PM, Sebastian Boehm sebastian@sometimesfood.org wrote:

Hi,

On 9 December 2011 18:26, Bryan McLellan btm@loftninjas.org wrote:

Our release cycle is faster than Ubuntu's so we've put on hold getting it into
upstream.

It would still be nice to have a usable (ie. >=0.9.x, 0.10.x would be
nice) Chev version in Ubuntu. That way you could use Ubuntu's Chef in
order to bootstrap a more up-to-date Chef version from the Opscode
repos. (Debian/Ubuntu's current Chef version is just too old to be
useful anymore – even for such simple tasks.)

This would be especially useful for preseeded installations.

Sebastian

On Sun, Dec 11, 2011 at 8:20 AM, Sebastian Boehm
sebastian@sometimesfood.org wrote:

I'll have a look at it, thanks. I'll just drop you a line if I have
any questions, ok?

No problem; happy to help. If you ask them on the chef-dev list [1]
there are folks in the community as well as Joshua from Opscode who
may have answers as well. Still, you can email me directly too.

Bryan

[1] chef-dev - Chef Developers