Assignment 5-(day 5)

What is Chef?

chef is a tool for accelerating application delivery and devops collaborations.It helps to solve the problem by treating infrastructure as code.Rather than manually changing anything,the machine setup is described in a chef recipe.It is like more than configuration management tool.

10 Advantage of Chef?

Accelerating software delivery

Increasing service resilience

Improving risk management

Managing both data center and cloud environment

Continuous delivery

scalability

consistency

A streamlined IT operations and workflow

How to install Chef Workstation?

To onstall chef workstation we need to use the following command

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

One Example Program of Recipe?

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
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x