I will install both the Chef Server and the Chef workstation on the Centos VM.
Download and install the server and workstation rpm’s from https://docs.chef.io/install_server.html
sudo rpm -Upv chef-server-core-12.17.33-1.el7.x86_64.rpm sudo rpm -Upv chef-workstation-0.1.162-1.el6.x86_64.rpm
Configure the Chef server
sudo chef-server-ctl reconfigure sudo chef-server-ctl user-create devopsdba devops dba devopsdda@gmail.com 'devopsdbapwd01' --filename /home/devopsdba/devopsdba.pem sudo chef-server-ctl org-create devopsorg 'devops org' --association_user devopsdba /home/devopsdba/devopsorg-validator.pem n.b. whatever you put instead of 'devopsorg' MUST be in lowercase. sudo chef-server-ctl grant-server-admin-permissions devopsdba sudo chef-server-ctl install chef-manage sudo chef-server-ctl reconfigure sudo chef-manage-ctl reconfigure sudo chef-server-ctl install opscode-push-jobs-server sudo chef-server-ctl reconfigure sudo opscode-push-jobs-server-ctl reconfigure sudo chef-server-ctl install opscode-reporting sudo chef-server-ctl reconfigure sudo opscode-reporting-ctl reconfigure
Configure the Chef workstation
curl -L https://www.opscode.com/chef/install.sh | sudo bash cd ~ git clone https://github.com/opscode/chef-repo.git mkdir ~/chef-repo/.chef
Open firefox on the VM and enter
http://localhost
Log in as devopsdba/devopsdbapwd01
Policy -> Client -> moluccan-validator