0% found this document useful (0 votes)
24 views3 pages

4 Configure-Chef-workstation-on-ubuntu

The document provides steps to configure the Knife CLI tool to connect to a Chef server. It outlines downloading a starter kit, installing unzip, extracting the files, checking and fetching SSL certificates, and listing clients and cookbooks.

Uploaded by

Aniket Sonale
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

4 Configure-Chef-workstation-on-ubuntu

The document provides steps to configure the Knife CLI tool to connect to a Chef server. It outlines downloading a starter kit, installing unzip, extracting the files, checking and fetching SSL certificates, and listing clients and cookbooks.

Uploaded by

Aniket Sonale
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Configure Knife

Step 1 : Download starter kit from chef server on your desktop

Step 1 A : Winscp the start kit to your chef-workstation


Step 1 C : Instlal unzip package and unzip chef starter kit

# apt-get install unzip

and

unzip chef-starter.zip

Step 2: Check clients (This first attempt should fail with an error that looks like this)

# cd /home/ubuntu/chef-repo

# knife client list

Step 3: Fetch ssl certificate from chef-server

# knife ssl fetch


Step 4 : ensure that you have recived the ssl cert on your workstation

# ls -l /home/ubuntu/chef-repo/.chef/trusted_certs

Step 5 : Once you try to list the ( you should get error as below)

# knife client list

Step 6 : List cookbook o chef server ( none at this moment)

knife cookbook list

You might also like