🚀 DevOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

Assignment-1 Chef Intro by Dasari Sowmya

DevOps

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.


Get Started Now!

1)What is Chef?

Chef is a Deployment tool. It is used as a configuration management tool used to automate the infrastructure provisioning. It is developed in Ruby language. It is used for building blocks like recipe and cookbooks. It is used for managing servers, software and applications in-house and also in the cloud.

2)10 Advantages of chef?

  • Accelerating Software Delivery
  • Increasing Service Resiliency
  • Improving risk management
  • Accelerating cloud Adoption
  • Manage Datacenters
  • A streamlined IT operation workflow
  • Continuous delivery
  • Deploy and manage servers and applications
  • Automate tasks across numerous servers
  • Opensource

3)How to install Chef Workstation

wget https://packages.chef.io/files/stable/chef-workstation/22.5.923/el/7/chef-workstation-22.5.923-1.el7.x86_64.rpm

rpm -ivh chef-workstation-22.5.923-1.el7.x86_64.rpm

chef

chef version

4) One example program for recipe

vi first.rb

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

chef-apply first.rb

Subscribe
Notify of
guest


This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x