Chef Lab and Excercise – Cookbooks – Part 3

  • Write a cookbook using install version of latest tomcat and deploy a Jenkins.war file into tomcat web directory.
  • Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the service.
  • Write a cookbook to unzip a file, and then move a files from one location to another using batch, bash chef resources?
  • Write a cookbook to install git, wget, zip in RHEL and Ubuntu.
  • Write a cookbook in which create a file using a string, but only if “/etc/passwd” exists
  • Write a coobook to run a batch file that unzips and then moves files from one location to another.
  • Write a cookbook to install apache http server in CentOs and Ubuntu, enable the services and start the service and index.html must be displayed with a value from template with attributes of Default attribute in /attributes/default.rb and Normal attribute set in a recipe and automatic attributes.
Rajesh Kumar
Follow me