After downloading and install of the chef and cloning and configuration of chef-repo and knife, I got stuck in how to install the client side (chef-client). Here´s a very brief howto.


To install chef-client on the client

sudo true && curl -L http://opscode.com/chef/install.sh | sudo bash
sudo mkdir /etc/chef


Copy config generated at the workstation:

scp -pr client-config/* USERNAME@HOSTNAME:/etc/chef/


To run chef client:

sudo chef-client -N NODENAME

OR add the following line at /etc/chef/client.rb

node_name NODENAMEHERE