{"id":8158,"date":"2022-11-22T03:24:39","date_gmt":"2022-11-22T03:24:39","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=8158"},"modified":"2022-12-23T05:45:29","modified_gmt":"2022-12-23T05:45:29","slug":"chef-lab-and-excercise-recipe-part-1","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/chef-lab-and-excercise-recipe-part-1\/","title":{"rendered":"Chef Lab and Excercise &#8211; Recipe &#8211; Part 1"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Submit the assignment on www.Debug.School!<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Write a recipe to create a file which should be owned by group called &#8220;root&#8221;, user &#8220;ec2-user&#8221; and permission executable.<\/li>\n\n\n\n<li>Write a recipe to updates the access (atime) and file modification (mtime) times for a file.<\/li>\n\n\n\n<li>Write a recipe to download the java tar ball, extract it under \/opt\/ and set JAVA_HOME using bash resources. Note &#8211; https:\/\/jdk.java.net\/archive\/<\/li>\n\n\n\n<li>Write a chef recipe to execiute one sample bash script.<\/li>\n\n\n\n<li>Write a chef recipe to Create a directory<\/li>\n\n\n\n<li>Write a chef recipe to install git.<\/li>\n\n\n\n<li>Write a chef recipe to clone git repo https:\/\/github.com\/scmgalaxy\/chef-repo<\/li>\n\n\n\n<li>Write a chef recipe to create group and use in linux.<\/li>\n\n\n\n<li>Write a chef recipe  to Download a file from a URL. Note &#8211; https:\/\/raw.githubusercontent.com\/scmgalaxy\/chef-repo\/master\/README.md<\/li>\n\n\n\n<li>Write a chef recipe to create a new user and password in the Nodes automatically?<\/li>\n\n\n\n<li>Write a chef recipe to add= a message to a log file.<\/li>\n<\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_58576\"><iframe loading=\"lazy\"  id=\"_ytid_83934\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_58576\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Submit the assignment on www.Debug.School!<\/p>\n","protected":false},"author":1,"featured_media":8182,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[88],"tags":[],"class_list":["post-8158","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chef"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=8158"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8158\/revisions"}],"predecessor-version":[{"id":31831,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8158\/revisions\/31831"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/8182"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}