Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


tomcat_config (1) Versions 0.1.0

Installs/Configures tomcat_demo

cookbook 'tomcat_config', '~> 0.1.0', :supermarket
cookbook 'tomcat_config', '~> 0.1.0'
knife supermarket install tomcat_config
knife supermarket download tomcat_config
Quality 71%


This cookbook will manage to configure war file in tomcate home directory after the installation of tomcat .

Note: This cookbook is in work in progress. This is the initial release with version 0.1.0. There have been some breaking changes in recent releases.

tomcat_config Cookbook

  1. It changes the file in the shared.loader section
  2. It will create a file of backup in the home directory of tomcat {/usr/local/tomcat9/shared/classes/}.
  3. It changes the context.xml file in the shared.loader section.

e.g. This cookbook makes your favorite breakfast sandwich.


Dependency cookbook is "tomcat_install"
Best practices to create private central repository - e.g. - apache/nginx/tomcat java version "1.8.0_121"




Chef 12.0 or later


toaster - tomcat_install needs toaster to brown your bagel.


Data Bag need to crate with data bag name "data_bag_name" and data bag item name "context-user" as it will setup the user account in context.xml file.


Author:: Suvadip Mandal ( Version 2.0 (the "License"); you may not use this file except in compliance with the License.

You may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

e.g. Just include tomcat_config in your node's run_list:

"run_list": [


TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g. 1. Fork the repository on Github 2. Create a named feature branch (like add_component_x) 3. Write your change 4. Write tests for your change (if applicable) 5. Run the tests, ensuring they all pass 6. Submit a Pull Request using Github

Dependent cookbooks

tomcat_install >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

tomcat_config CHANGELOG

This file is used to list changes made in each version of the tomcat_config cookbook.


  • [your_name] - Initial release of tomcat_config

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric

0.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

0.1.0 passed this metric

Foodcritic Metric

0.1.0 passed this metric

No Binaries Metric

0.1.0 passed this metric

Supported Platforms Metric

0.1.0 passed this metric

Testing File Metric

0.1.0 passed this metric

Version Tag Metric

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must include a tag that matches this cookbook version number