cookbook 'tomcat8', '~> 0.1.0'
tomcat8 (1) Versions 0.1.0 Follow6
Installs/Configures tomcat8
cookbook 'tomcat8', '~> 0.1.0', :supermarket
knife supermarket install tomcat8
knife supermarket download tomcat8
tomcat8 Cookbook
Chef 11 compatible cookbook that installs tomcat8 in a basic configuration.
Partially based on the tomcat_latest cookbook by Chendil Kumar Manoharan
mkchendil@gmail.com under the Apache 2.0 license
Only been tested on Ubuntu and may only work on Ubuntu and perhaps Debian
Requirements
packages
-
java
- tomcat8 needs java before it can be installed.
Attributes
tomcat8::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['tomcat8']['download_url']</tt></td>
<td>String</td>
<td>Where to download tomcat from</td>
<td><tt>http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.33/bin/apache-tomcat-8.0.33.tar.gz</tt></td>
</tr>
<tr>
<td><tt>['tomcat8']['install_location']</tt></td>
<td>String</td>
<td>Default install location></td>
<td><tt>/var/tomcat8</tt></td>
</tr>
<tr>
<td><tt>['tomcat8']['port']</tt></td>
<td>Number</td>
<td>Default port for tomcat to use</td>
<td><tt>8080</tt></td>
</tr>
<tr>
<td><tt>['tomcat8']['ssl_port']</tt></td>
<td>Number</td>
<td>Default ssl port for tomcat</td>
<td><tt>8443</tt></td>
</tr>
<tr>
<td><tt>['tomcat8']['ajp_port']</tt></td>
<td>Number</td>
<td>Default ajp port for tomcat</td>
<td><tt>8009</tt></td>
</tr>
<tr>
<td><tt>['tomcat8']['tomcat_user']</tt></td>
<td>String</td>
<td>Default user for tomcat</td>
<td><tt>root</tt></td>
</tr>
<tr>
<td><tt>['tomcat8']['autostart']</tt></td>
<td>Boolean</td>
<td>Whether to autostart tomcat</td>
<td><tt>true></tt></td>
</tr>
</table>
Usage
tomcat8::default
Just include tomcat8
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[tomcat8]" ] }
tomcat8 CHANGELOG
This file is used to list changes made in each version of the tomcat8 cookbook.
0.1.0
- [your_name] - Initial release of tomcat8
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 failed this metric
FC066: Ensure chef_version is set in metadata: tomcat8/metadata.rb:1
FC069: Ensure standardized license defined in metadata: tomcat8/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.1.0 failed this 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 failed this metric
FC066: Ensure chef_version is set in metadata: tomcat8/metadata.rb:1
FC069: Ensure standardized license defined in metadata: tomcat8/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.1.0 failed this metric
FC069: Ensure standardized license defined in metadata: tomcat8/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.1.0 failed this 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