{"id":5266,"date":"2018-08-27T11:53:03","date_gmt":"2018-08-27T11:53:03","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=5266"},"modified":"2021-11-17T10:06:17","modified_gmt":"2021-11-17T10:06:17","slug":"puppet-module-lab-excercise-part-1","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/puppet-module-lab-excercise-part-1\/","title":{"rendered":"Puppet Module Lab &#038; Excercise \u2013 Part 1"},"content":{"rendered":"<p><strong>Puppet Module Lab &amp; Excercise \u2013 Part 1<\/strong><\/p>\n<ol>\n<li>\n<h4>Write a puppet module to setup a webserver(httpd) only in RHEL and use the HEREDOC to craete a html code of index.html inside a directory called &#8220;\/var\/www\/html\/index.html&#8221;<\/h4>\n<\/li>\n<li>\n<h4>Write a puppet module to setup a webserver(httpd) only in RHEL and use the puppet template to create a html code of index.html inside a directory called &#8220;\/var\/www\/html\/index.html&#8221;<\/h4>\n<\/li>\n<li>\n<h4>Write a puppet module to install git, ntp and wget tools.<\/h4>\n<\/li>\n<li>\n<h4>Write a puppet module which has file named with deploy.sh under module&#8217;s files directory. the file should be copied to \/opt<\/h4>\n<\/li>\n<li>\n<h4><strong>Write a puppet module using you&#8230;&#8230;<\/strong><\/h4>\n<\/li>\n<\/ol>\n<ul>\n<li>Copy jenkins.war from https:\/\/jenkins.io\/download\/<\/li>\n<li>Install Tomcat<\/li>\n<li>Copy jenkins.war in tomcat web directory<\/li>\n<li>Start the tomcat<\/li>\n<\/ul>\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_45585\"><iframe loading=\"lazy\"  id=\"_ytid_60620\"  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_45585\"  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>Puppet Module Lab &amp; Excercise \u2013 Part 1 Write a puppet module to setup a webserver(httpd) only in RHEL and use the HEREDOC to craete a html code of index.html&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[89],"tags":[5035,5036,297,159,5037],"class_list":["post-5266","post","type-post","status-publish","format-standard","hentry","category-puppet","tag-excercise","tag-lab","tag-module","tag-puppet","tag-puppet-module"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/5266","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=5266"}],"version-history":[{"count":5,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/5266\/revisions"}],"predecessor-version":[{"id":25584,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/5266\/revisions\/25584"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=5266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=5266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=5266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}