Installing software packages using cookbooks

Until now, we've seen how to created a hosted Chef account, how to configure a Chef workstation, and how to converge a node.

Now it is time to install software packages using cookbooks. To set up the runtime environment automatically, it's best to use the Chef community cookbooks:

  1. Visit https://github.com/chef-cookbooks and find all the community cookbooks required to set up a runtime environment, as shown in the following screenshot:

    Installing software packages using cookbooks

  2. We are using a sample Spring application, namely, PetClinic. We need to install Java and Tomcat to run a Java EE application such as this.
  3. Download the Tomcat cookbook from ...

Get DevOps for Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.