O'Reilly logo

Learning Chef by Rishabh Sharma, Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using community cookbooks

Download the Tomcat cookbook with the knife command. More details are available at https://github.com/opscode-cookbooks/tomcat.

Using community cookbooks

Extract the content of the Tomcat cookbook.

Using community cookbooks

Try to upload Tomcat cookbook on the Chef server with the knife cookbook upload tomcat command

If you get an error, as shown in the following figure, then add cookbook_path in the knife.rb file:

Using community cookbooks

The following screenshot shows the example of the knife.rb file: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required