Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
What is Chef?
chef is a tool for accelerating application delivery and devops collaborations.It helps to solve the problem by treating infrastructure as code.Rather than manually changing anything,the machine setup is described in a chef recipe.It is like more than configuration management tool.
10 Advantage of Chef?
Accelerating software delivery
Increasing service resilience
Improving risk management
Managing both data center and cloud environment
Continuous delivery
scalability
consistency
A streamlined IT operations and workflow
How to install Chef Workstation?
To onstall chef workstation we need to use the following command
wget https://packages.chef.io/files/stable/chef-workstation/22.5.923/el/7/chef-workstation-22.5.923-1.el7.x86_64.rpm
One Example Program of Recipe?
file ‘/opt/first.txt’
file ‘/opt/first.txt’ do
action :delete
end
file ‘/opt/content.txt’ do
content “This is my first program of chef”
mode 755
owner root
end