DevOps Classroom Series – 09/Sept/2020

Creating Custom Resources in Chef

  • Lets try to create a custom resource for deploying tomcat

  • Lets generate a new cookbook for creating custom resources

  • For creating the custom resource Refer Here for official docs. The DSL for Custom Resource is specified over here

  • What are the resources which we need?

    • One resource to install and configure tomcat service
    • Deploy the application to tomcat.
  • Refer Here for tomcat cookbook created in classroom

  • Also Refer Here for java supermarket cookbook and Refer Here for apache2 supermarket cookbook

Chef Server Installation

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin