OCI-c: Chef workstation install

Provision EL 6.6 uek

Login with opc

Install the prereq

sudo yum install wget ruby git tree

Download and install the Chef DK

sudo wget https://packages.chef.io/files/stable/chefdk/1.3.43/el/6/chefdk-1.3.43-1.el6.x86_64.rpm
sudo yum install chefdk-1.3.43-1.el6.x86_64.rpm
echo 'eval "$(chef shell-init bash)"' >> ~/.bash_profile

Logout and login back with opc to verify the install

opc chef verify