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

tomee (14) Versions 0.2.0

Installs/Configures TomEE

Policyfile
Berkshelf
Knife
cookbook 'tomee', '= 0.2.0', :supermarket
cookbook 'tomee', '= 0.2.0'
knife supermarket install tomee
knife supermarket download tomee
README
Dependencies
Changelog
Quality 0%

tomee

This cookbook installs and configures Apache TomEE.
It starts downloading TomEE from an tomee_url specified in attributes/default.rb.

This cookbook is a beta version inspired on Opscode's Tomcat cookbook.

Supported Platforms

  • Debian, Ubuntu (OpenJDK, Oracle)
  • CentOS 6+, Red Hat 6+, Fedora

Used with: Centos (6.2, 6.5) and Ubuntu (14.04)

Dependencies

  • java

Prerequisites

This cookbook cames with a dependency to java cookbook.
At end of document there is run_list
Please make sure that Java has been configured on the machine
prior to the application any resources or recipes shipped in this
cookbook.

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['tomee']['run_base_instance']</tt></td>
<td>Boolean</td>
<td>whether to include bacon</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['tomee']['name']</tt></td>
<td>String</td>
<td>Service name, used only for base instance</td>
<td><tt>tomee</tt></td>
</tr>
<tr>
<td><tt>['tomee']['user']</tt></td>
<td>String</td>
<td>User name</td>
<td><tt>tmuser</tt></td>
</tr>
<tr>
<td><tt>['tomee']['group']</tt></td>
<td>String</td>
<td>Group name</td>
<td><tt>tomee</tt></td>
</tr>
<tr>
<td><tt>['tomee']['tomee_url']</tt></td>
<td>String</td>
<td>Tomee tar gz url</td>
<td><tt>http://my.internal.server/apache-tomee-1.7.1-plume.tar.gz</tt></td>
</tr>
<tr>
<td><tt>['tomee']['port']</tt></td>
<td>Integer</td>
<td>HTTP port number</td>
<td><tt>8080</tt></td>
</tr>
<tr>
<td><tt>['tomee']['proxy_port']</tt></td>
<td>Integer</td>
<td>HTTP proxy port number</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['tomee']['ssl_port']</tt></td>
<td>Integer</td>
<td>HTTP port number</td>
<td><tt>8443</tt></td>
</tr>
<tr>
<td><tt>['tomee']['ssl_proxy_port']</tt></td>
<td>Integer</td>
<td>HTTP proxy port number</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['tomee']['ajp_port']</tt></td>
<td>Integer</td>
<td>ajp port number</td>
<td><tt>8009</tt></td>
</tr>
<tr>
<td><tt>['tomee']['shutdown_port']</tt></td>
<td>Integer</td>
<td>Shutdown port</td>
<td><tt>8005</tt></td>
</tr>
</table>

Usage

tomee::tomee

Include tomee in your node's run_list, if you want install Java you must prepend common-packages and java::default :

{
  "run_list": [
    "recipe[tomee::common-packages]",
    "recipe[java::default]",
    "recipe[tomee::tomee]"
  ]
}

License and Authors

Author:: Vincenzo D'Amore (v.damore@gmail.com)

Dependent cookbooks

java ~> 1.21

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of tomee

Foodcritic Metric
            

0.2.0 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:5
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:24
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:49
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:50
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:55
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:56
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:81
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:110
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:111
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:142
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:143
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:149
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:150
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:154
FC002: Avoid string interpolation where not required: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/recipes/tomee.rb:40
FC017: LWRP does not notify when updated: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:3
FC023: Prefer conditional attributes: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/recipes/tomee.rb:28
FC024: Consider adding platform equivalents: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/providers/instance.rb:84
FC024: Consider adding platform equivalents: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/recipes/common-packages.rb:12
FC031: Cookbook without metadata file: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/metadata.rb:1
FC034: Unused template variables: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/templates/default/service_tomee.erb:1
FC034: Unused template variables: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/templates/default/tomee_server.xml.erb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/metadata.rb:1
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6ad1d77dc2c560fd9946abd8/tomee/libraries/myvagrantlib.rb:14