See `Chef Architecture Introduction`_ for details.
+.. _createuser:
+
Create a ``chef`` User
----------------------
The ``chef-client`` command requires the proper privileges to install and manage
.. important:: Do not change the file permissions on ``/etc/sudoers``. Use a
suitable tool such as ``visudo``.
+.. _genkeys:
+
Generate SSH Keys for Chef Clients
----------------------------------
Chef's ``knife`` tool can run ``ssh``. To streamline deployments, we
Hostname myserver02.fqdn-or-ip-address.com
User chef
+.. _installruby:
+
Installing Ruby
---------------
Chef requires you to install Ruby. Use the version applicable to your current
sudo apt-get update
sudo apt-get install ruby
+.. _installchefserver:
+
Installing Chef and Chef Server on a Server
-------------------------------------------
If you plan on hosting your `Chef Server at Opscode`_ you may skip this step,
Once you have entered the temporary password, the Chef web UI will prompt you
to enter a new password.
+.. _installchef:
Install Chef on all Remaining Hosts
-----------------------------------
http://fqdn-or-ip-address.com:4000
+.. _configknife:
Configuring Knife
-----------------
*Please enter the path to a chef repository (or leave blank):*
Leave the entry field blank and press **Enter**.
+.. _addcbpath:
Add a Cookbook Path
-------------------
This is where you will store local copies of cookbooks before uploading
them to the Chef server.
+.. _cpvalpem:
+
Copy ``validation.pem`` to Nodes
--------------------------------
Copy the ``/etc/chef/validation.pem`` file from your Chef server to
sudo cat /etc/chef/validation.pem | ssh {nodename} "exec sudo tee /etc/chef/validation.pem >/dev/null"
+.. _runchefcli:
+
Run ``chef-client`` on each Chef Node
-------------------------------------
Run the ``chef-client`` on each Chef Node so that the nodes
ssh chef-node
sudo chef-client
+.. _verifynodes:
+
Verify Nodes
------------
Verify that you have setup all the hosts you want to use as