Download the Tomcat cookbook with the
knife command. More details are available at https://github.com/opscode-cookbooks/tomcat.
Extract the content of the Tomcat cookbook.
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
The following screenshot shows the example of the
knife.rb file: ...