Install Chef Client

References Installed and works on CentOS 6.2

sudo rpm -Uvh
sudo yum install ruby ruby-devel ruby-ri ruby-rdoc ruby-shadow gcc gcc-c++ automake autoconf make curl dmidecode

cd /tmp
curl -O
tar zxf rubygems-1.8.10.tgz
cd rubygems-1.8.10
sudo ruby setup.rb --no-format-executable

#This command can appear to hang, unless you use the verbose flag.
sudo gem install chef --no-ri --no-rdoc

Restrict use to specific platforms

%w{ ubuntu debian fedora centos redhat freebsd openbsd macosx }.each do |os|
  supports os

Installing packages

package "apache2"