Day 5 . Assignment 1 # Chef Introduction


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
  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

file ‘/opt/content.txt’ do
content “This is my first program of chef”
mode 755
owner “root”

chef-apply first.rb

0 0 votes
Article Rating
Notify of

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

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x