Chef 11 compatible cookbook that installs tomcat8 in a basic configuration. Partially based on the tomcat_latest cookbook by Chendil Kumar Manoharan [email protected] under the Apache 2.0 license
Only been tested on Ubuntu and may only work on Ubuntu and perhaps Debian
java
- tomcat8 needs java before it can be installed.
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> |
Just include tomcat8
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[tomcat8]"
]
}