Opscode
Home     Cookbooks     Blog     GitHub     Tickets 

Package Installation on Ubuntu 9.10

In Development

Ubuntu 9.10 Karmic Koala is in the alpha prerelease stage of development. As such, changes in Karmic may affect other packages, such as Chef. If you notice issues with the Chef packages or how they function on Karmic, please file a bug on Launchpad, and on our normal Jira.

Of particular note, CouchDB (required by Chef Server) is under very active development. If you see a 500 error from Chef Server in the WebUI, its likely a CouchDB issue. Feel free to ask on IRC or the mailing list though in case someone else ran into the same issue.

As an alternative to the RubyGems method of installing Chef on Debian and Ubuntu systems, Ubuntu Karmic Koala has packages available for Chef that you can install via APT.

These packages were the basis for the packages Opscode provides for other Debian and Ubuntu releases. As the package version in Ubuntu is "frozen" on release, the Opscode APT repository should be used for newer versions of Chef.

Pre-requisites


Make sure the 'universe' repository is enabled.

/etc/apt/sources.list

Update sources.

During the alpha and beta cycles before Ubuntu is released, many packages are updated, sometimes multiple times per day. It is a good idea to do an apt-get upgrade before continuing.

Chef Server Installation


We're going to install the Chef Server under the assumption it will be a client as well. For more information about this, see the blog post announcement, regarding Chef library and binary packages.

Install the Chef Server.

Chef Client Installation


Install just a Chef Client.

Ubuntu Karmic specific

As of 11/04/09 I needed to add rubygems, otherwise chef-client
crashes upon requiring it. So the actual line for Karmic is:

sudo apt-get install ohai chef rubygems

Configuration


You may wish to take a look at the configuration files and see if they meet your needs, or modify for your environment. The files are commented.

At this point you should learn how to set up a Chef Repository so you can start cooking.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Copyright © 2009 Opscode, Inc. All Rights Reserved.