Information Technology Reference
In-Depth Information
The rest of the steps necessary to install Chef Server are displayed below the download link:
1. Install the chef-server package.
2. Run sudo private-chef-ctl reconfigure .
Install Enterprise Chef Server
Assuming you have sufficient resources to install Enterprise Chef Server locally along with a
test node, let's create an enterprise-chef cookbook that will install Enterprise Chef Server.
To maintain consistency with Hosted Enterprise Chef, create the directory chef-repo/cook-
books and create the enterprise cookbook in that directory. Having a top-level chef-repo
directory will help you handle the additional files necessary to manage Enterprise Chef bey-
ond the cookbooks themselves. You'll definitely be using more than one cookbook in your
organization, so we suggest putting them in a chef-repo/cookbooks subdirectory.
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
> cd chef-repo\cookbooks
Then generate the enterprise-chef cookbook with chef generate cookbook or knife
cookbook create , depending on whether you are using the Chef Development Kit or the
Chef Client. We're going to go through the cookbook creation steps quickly in this chapter. If
you need a refresher on what each of these commands mean and the expected output, refer
back to Chapter 7 .
Chef Development Kit:
$ chef generate cookbook enterprise-chef
$ cd enterprise-chef
Search WWH ::




Custom Search