Day 5 . Assignment 1 # Chef Introduction

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

Chef

Chef is a configuration management technology used to automate the infrastructure provisioning. It is developed on the basis of Ruby DSL language. It is used to streamline the task of configuration and managing the company’s server. It has the capability to get integrated with any of the cloud technology . The chef has working with cookbooks and recipes

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.
  • Final Thoughts.
  • Consistency and Scalability
  • Faster Deployement and Reduced Risks
  • Integrates with Any Cloud Technology 

How to install Chef Workstation

  1. Go the Chef workstation page
  2. Click on the package for window/linux or any other version we want.
  3. After clicking on download, we will get a link.
  4. wget https://packages.chef.io/files/stable/chef-workstation/22.5.923/el/7/chef-workstation-22.5.923-1.el7.x86_64.rpm
  5. Copy this to the putty, server and download the packages of the chef.
  6. Workstation will be installed

One Example Program of 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