Chef(11 compatible) cookbook to install tomcat 8

Brandon Sharitt 0dcf1803b3 Add supports ubuntu 3 years ago
attributes 634ddabdfc First pass at the cookbook 3 years ago
recipes 808c31da0d service actions into an array 3 years ago
templates 1fae1785e5 Was still using tomcat7 server.xml template 3 years ago
CHANGELOG.md 68e6679915 first 3 years ago
LICENSE 634ddabdfc First pass at the cookbook 3 years ago
README.md 634ddabdfc First pass at the cookbook 3 years ago
metadata.rb 0dcf1803b3 Add supports ubuntu 3 years ago

README.md

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

Key Type Description Default
['tomcat8']['download_url'] String Where to download tomcat from http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.33/bin/apache-tomcat-8.0.33.tar.gz
['tomcat8']['install_location'] String Default install location> /var/tomcat8
['tomcat8']['port'] Number Default port for tomcat to use 8080
['tomcat8']['ssl_port'] Number Default ssl port for tomcat 8443
['tomcat8']['ajp_port'] Number Default ajp port for tomcat 8009
['tomcat8']['tomcat_user'] String Default user for tomcat root
['tomcat8']['autostart'] Boolean Whether to autostart tomcat true>

Usage

tomcat8::default

Just include tomcat8 in your node's run_list:

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