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

DAY-5 DevOps Assignment on Chef

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?

Progress Chef is a configuration management tool written in Ruby and Erlang. It uses a pure-Ruby, domain-specific language for writing system configuration “recipes”. Chef is used to streamline the task of configuring and maintaining a company’s servers, and can integrate with cloud-based platforms such as Amazon EC2, Google Cloud Platform, Oracle Cloud, OpenStack, IBM Cloud, Microsoft Azure, and Rackspace to automatically provision and configure new machines. Chef contains solutions for both small and large scale systems.

2. 10 Advantage of Chef?

  • Accelerating Software Delivery.
  • Increasing Service Resiliency.
  • Improving Risk Management.
  • Accelerating Cloud Adoption.
  • Managing Both Data Center and Cloud Environments.
  • Delivering All Your Infrastructure – Any App, Everywhere, Continuously.
  • It create a domain-specific language
  • Chef is ideal for deploying and managing the cloud server, storage, and software.

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

4. One Example Program of Recipe?

“file.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

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