MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Chef Lab and Excercise – Recipe – Part 1

Submit the assignment on www.Debug.School!

  • Write a recipe to create a file which should be owned by group called “root”, user “ec2-user” and permission executable.
  • Write a recipe to updates the access (atime) and file modification (mtime) times for a file.
  • Write a recipe to download the java tar ball, extract it under /opt/ and set JAVA_HOME using bash resources. Note – https://jdk.java.net/archive/
  • Write a chef recipe to execiute one sample bash script.
  • Write a chef recipe to Create a directory
  • Write a chef recipe to install git.
  • Write a chef recipe to clone git repo https://github.com/scmgalaxy/chef-repo
  • Write a chef recipe to create group and use in linux.
  • Write a chef recipe to Download a file from a URL. Note – https://raw.githubusercontent.com/scmgalaxy/chef-repo/master/README.md
  • Write a chef recipe to create a new user and password in the Nodes automatically?
  • Write a chef recipe to add= a message to a log file.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Chef Tutorials: How to looping and iterative in Chef Cookbook recipe?

Chef recipes are Ruby, so you loop with ordinary Ruby iterators such as each, and each pass declares one Chef resource. This page explains how the loop…

Read More

Chef Tutorials: Common Resource Functionality in chef Cookbook recipe

Common resource properties are settings that every Chef Infra resource accepts, whatever the resource type: action, ignore_failure, retries, retry_delay, sensitive, guards such as not_if and only_if, and…

Read More

Chef Tutorials: How to set Conditions in Chef Cookbooks recipe using Guard?

Chef guards are the not_if and only_if properties, which decide during the converge phase whether a resource runs. A guard can be a shell command string or…

Read More

Chef Tutorials: template Resource with example

The Chef template resource renders an Embedded Ruby (ERB) file from a cookbook's templates/ directory and writes the result to a path on the node. This page…

Read More

Chef Tutorials: Create multiple resources in Chef recipe

A Chef recipe is Ruby, so you can create many resources of the same type by looping over an array with .each and declaring one resource per…

Read More

Chef Tutorials: How to set environment variable in Chef recipe

How you set an environment variable in a Chef recipe depends on who needs to see it. It might be the running chef-client process, a single execute…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x