Day 5 Assignment-1
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
What is Chef
Chef is an automation tool that provides a way to define infrastructure as code. Infrastructure as code simply means that managing infrastructure by writing code rather than using manual processes. It can also be termed as programmable infrastructure. Chef uses a pure-Ruby, domain-specific language.
10 Advantages of Chef
- Accelerating Software Delivery.
- Increasing Service Resiliency.
- Improving Risk Management.
- Accelerating Cloud Adoption.
- Manage Cloud as well as Data Center.
- A streamlined IT operations and workflow.
- Helps to manage both data and cloud environment.
- Flexible.
- Deliver all infrastructure continuously.
- Easy to use and understand.
- Stable.
How to install Chef Workstation
- Install Chef by using command wget https://packages.chef.io/stable/el/7/chefdk-0.11.2-1.el7.x86_64.rpm
- Install Chef DK by using command rpm -ivh chefdk-0.11.2-1.el7.x86_64.rpm
Example
//content.txt
This is my first app.
//index.html
<h1> Welcome to my page <h1>
exeucte this file using chef command