Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Chef Lab and Excercise – Recipe – Part 2

Submit a Assignment of www.Debug.school

  • Write a recipe using template resources to create a file, but only if an attribute has a specific value.
  • Write a recipe and set same attributes in following location and decide precedence.
    • – Default attribute in /attributes/default.rb
    • – Default attribute in node object in recipe
    • – Normal attribute set in a recipe
  • Write a recipe to create a file using a string, but not if “/etc/passwd” exists?
  • Write a recipe to install vim’, ‘git’, ‘curl using loops
  • Write a recipe to create a file in /tmp/if_only only if there is a php executable currently installed on this system.# which php
  • Write a recipe to install httpd using not_if system is CentOS.
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x