Chef: Chef is an automation tool that provides a way to define infrastructure as a code. It managing infrastructure by writing code rather than using manual processes.
Advantages of Chef:
1.Managing servers with ease.
2.Automation of cloud server.
3.Deployment of servers with faster pace.
4.Best consistency – all the machines have same cloud running.
6.Speed and accuracy.
7.Integrating cloud technology.
8.Effective risk management.
9.Speed s/w delivery.
10.Best rectification factor.
Installation of chef workstation:
file ‘/opt/first.txt’ do
file ‘/opt/content.txt’ do
content “This is my first program of chef”
1.Go the Chef workstation page
2.signup into the page
3.Click on the package for window/ Linux or any other version we want.
4.After clicking on download, we will get a link.
6.rpm -ivh chef-workstation-22.5.923-1.el7.x86_64.rpm
7.Copy this to the putty, download the packages of the chef.
8.Workstation will be installed automatically
9.use chef version command to find the version that is installed in your Linux.
10.use which chef command to find the version.