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

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

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