Day-5 Assignment # 1 – Chef Intro
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
1) What is Chef?
A) Chef is a configuration management tool which helps to resolve the issue by treating infrastructure as code. Rather than changing anything manually. It transforms infrastructure in to code to automate server deployment.
2)10 Advantages of Chef?
A)
- Increasing software development changes with respect to new requirements.
- Increases risk management.
- Manages both cloud environments and data centers.
- Delivering all infrastructure continuously.
- High scalability.
- Consistency.
- Easily integrates with any type of cloud environments.
- It also performs automated testing to detect any compliance issues.
- Continuous deployment.
- Increasing service resiliency.
3)How to install Chef Workstation?
A) Step-1:- In command prompt firstly execute the “wget https://packages.chef.io/files/stable/chef-workstation/22.5.923/el/7/chef-workstation-22.5.923-1.el7.x86_64.rpm” this cmd.
Step-2:- After that run this “rpm -ivh chef-workstation-22.5.923-1.el7.x86_64.rpm” for installing packages of chef.
Step-3:- Check chef version
Step-4:-check chef
Step-4:-Installation completed…!
4)One Example Program of Recipe?
A) Program of recipe
file ‘My first program’ do
content “This my first recipe”
mode 755
owner “Aswitha”
end