L1 – Install Chef Workstation
Open the chef server web page and login
https://chef-server/login
Administration Tab
Select the organisation you have created.
Select “Starter Kit” form the left hand side
Select “Download Starter Kit” and save it somewhere safe, you only really want to do this once for ALL ssystems and users.
Copy the kit to the directory where you want your chef-repo to be, in this case it is the user home directory.
$unzip chef-starter.zip
Install the chef workstation software
$ curl -L https://www.opscode.com/chef/install.sh | sudo bash # install chef workstation
Test the connection to the server
$ cd chef-repo
$ knife node list
This may return nothing if we have not added any nodes yet.
If an ssl certificate error is generated we can use the following command to get the Chef server certificate.
$ knife ssl fetch
and then retry the test
$ knife node list
$
Discussion ¬