Appendix A. Open Source Chef Server

This appendix is a variant of the instructions provided in Chapter 9 for Open Source Chef Server.

How to Install Open Source Chef Server Manually

First, download the Chef Server install package from http://www.getchef.com/chef/install. We’ll be installing Open Source Chef server on CentOS 6.5, so choose “Enterprise Linux > 6 > x86_64”, as shown in Figure A-1. Choose to Download version 11.1.4 to get a download link to the package.

Note

The download page might not match the images in this book exactly. However, the download and installation procedure should be the same.

The remaining steps necessary to install Chef Server are displayed below the download link:

  1. Install the chef-server package.
  2. Run sudo chef-server-ctl reconfigure.
Download Open Source Chef Server installation package
Figure A-1. Download Open Source Chef Server installation package

Install Open Source Chef Server

Assuming you have sufficient resources to install Chef Server locally along with a test node, let’s create a chef-server cookbook, which we’ll use to install Open Source Chef Server. To maintain consistency with Hosted Enterprise Chef, create the directory chef-repo/cookbooks and create the chef-server cookbook in that directory.

Create the chef-repo/cookbooks directory, and make it the current working directory.

Linux/Mac OS X:

$ mkdir -p chef-repo/cookbooks
$ cd chef-repo/cookbooks

Windows:

$ mkdir chef-repo\cookbooks ...

Get Learning Chef now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.