In this post, we will learn how to setup the nodes that we want to be managed by Chef. Read on!
There are only 2 steps here. Downloading the client package & installing it. Repeat these steps on all the nodes that you want Chef to manage.
Download Chef Client package from https://downloads.chef.io/chef-client/
Install it as below.
root@node1:/home/shashank# dpkg -i /media/sf_Chef_Downloads/chef_12.6.0-1_amd64.deb Selecting previously unselected package chef. (Reading database ... 166222 files and directories currently installed.) Preparing to unpack .../chef_12.6.0-1_amd64.deb ... Unpacking chef (12.6.0-1) ... Setting up chef (12.6.0-1) ... Thank you for installing Chef!
This will setup your Chef client. To manage it using Chef, it has to be bootstrapped. How to do it? I will leave it for the next post 😉 Stay tuned 🙂