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

RSS

tomcat_install (1) Versions 0.1.0

Installs/Configures tomcat_demo

Policyfile
Berkshelf
Knife
cookbook 'tomcat_install', '~> 0.1.0', :supermarket
cookbook 'tomcat_install', '~> 0.1.0'
knife supermarket install tomcat_install
knife supermarket download tomcat_install
README
Dependencies
Changelog
Quality 33%

Description

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_install Cookbook

  1. It changes the catalina.properties 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/backup.properties}.
  3. It changes the context.xml file in the shared.loader section.

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

Requirements

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

Platforms

CentOS
RedHat

Chef

Chef 12.0 or later

Cookbooks

toaster - tomcat_install needs toaster to brown your bagel.

Usage

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.

LICENSE and AUTHOR:

Author:: Suvadip Mandal (suvadipmandal@gmail.com). 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 http://www.apache.org/licenses/LICENSE-2.0 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_install in your node's run_list:

{
"name":"my_node",
"run_list": [
"recipe[tomcat_install]"
]
}

Contributing

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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

tomcat_demo CHANGELOG

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

0.1.0

  • [your_name] - Initial release of tomcat_demo

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 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File 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 https://github.com/user/repo, and your repo must contain a TESTING.md file

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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number