hapi-fhir/vagrant/chef/cookbooks/tomcat/metadata.json

39 lines
7.9 KiB
JSON
Raw Normal View History

2014-10-06 21:47:56 -04:00
{
"name": "tomcat",
"version": "0.16.2",
"description": "Installs/Configures tomcat",
"long_description": "tomcat Cookbook\n===============\nInstalls and configures Tomcat, Java servlet engine and webserver.\n\n\nRequirements\n------------\n### Platforms\n- Debian, Ubuntu (OpenJDK, Oracle)\n- CentOS 6+, Red Hat 6+, Fedora, Amaxon (OpenJDK, Oracle), Scientific Linux 6\n\n### Dependencies\n- java\n- openssl\n\n\nAttributes\n----------\n* `node[\"tomcat\"][\"base_version\"]` - The version of tomcat to install, default `6`.\n* `node[\"tomcat\"][\"port\"]` - The network port used by Tomcat's HTTP connector, default `8080`.\n* `node[\"tomcat\"][\"proxy_port\"]` - if set, the network port used by Tomcat's Proxy HTTP connector, default nil.\n* `node[\"tomcat\"][\"ssl_port\"]` - The network port used by Tomcat's SSL HTTP connector, default `8443`.\n* `node[\"tomcat\"][\"ssl_proxy_port\"]` - if set, the network port used by Tomcat's Proxy SSL HTTP connector, default nil.\n* `node[\"tomcat\"][\"ajp_port\"]` - The network port used by Tomcat's AJP connector, default `8009`.\n* `node[\"tomcat\"][\"shutdown_port\"]` - The network port used by Tomcat to listen for shutdown requests, default `8005`.\n* `node[\"tomcat\"][\"catalina_options\"]` - Extra options to pass to the JVM only during start and run commands, default \"\".\n* `node[\"tomcat\"][\"java_options\"]` - Extra options to pass to the JVM, default `-Xmx128M -Djava.awt.headless=true`.\n* `node[\"tomcat\"][\"use_security_manager\"]` - Run Tomcat under the Java Security Manager, default `false`.\n* `node[\"tomcat\"][\"loglevel\"]` - Level for default Tomcat's logs, default `INFO`.\n* `node[\"tomcat\"][\"deploy_manager_apps\"]` - whether to deploy manager apps, default `true`.\n* `node[\"tomcat\"][\"authbind\"]` - whether to bind tomcat on lower port numbers, default `no`.\n* `node[\"tomcat\"][\"max_threads\"]` - maximum number of threads in the connector pool.\n* `node[\"tomcat\"][\"tomcat_auth\"]` -\n* `node[\"tomcat\"][\"instances\"]` - A dictionary defining additional tomcat instances to run.\n* `node[\"tomcat\"][\"run_base_instance\"]` - Whether or not to run the \"base\" tomcat instance, default `true`.\n* `node[\"tomcat\"][\"user\"]` -\n* `node[\"tomcat\"][\"group\"]` -\n* `node[\"tomcat\"][\"home\"]` -\n* `node[\"tomcat\"][\"base\"]` -\n* `node[\"tomcat\"][\"config_dir\"]` -\n* `node[\"tomcat\"][\"log_dir\"]` -\n* `node[\"tomcat\"][\"tmp_dir\"]` -\n* `node[\"tomcat\"][\"work_dir\"]` -\n* `node[\"tomcat\"][\"context_dir\"]` -\n* `node[\"tomcat\"][\"webapp_dir\"]` -\n* `node[\"tomcat\"][\"lib_dir\"]` -\n* `node[\"tomcat\"][\"endorsed_dir\"]` -\n\n### Attributes for SSL\n* `node[\"tomcat\"][\"ssl_cert_file\"]` - SSL certificate file\n* `node[\"tomcat\"][\"ssl_chain_files\"]` - SSL CAcert chain files used for generating the SSL certificates\n* `node[\"tomcat\"][\"ssl_max_threads\"]` - maximum number of threads in the ssl connector pool, default `150`.\n* `node[\"tomcat\"][\"keystore_file\"]` - Location of the file where the SSL keystore is located\n* `node[\"tomcat\"][\"keystore_password\"]` - Generated by the `secure_password` method from the openssl cookbook; if you are using Chef Solo, set this attribute on the node\n* `node[\"tomcat\"][\"truststore_password\"]` - Generated by the `secure_password` method from the openssl cookbook; if you are using Chef Solo, set this attribute on the node\n* `node[\"tomcat\"][\"truststore_file\"]` - location of the file where the SSL truststore is located\n* `node[\"tomcat\"][\"certificate_dn\"]` - DN for the certificate\n* `node[\"tomcat\"][\"keytool\"]` - path to keytool, used for generating the certificate, location varies by platform\n\n\nUsage\n-----\nSimply include the recipe where you want Tomcat installed.\n\nDue to the ways that some system init scripts call the configuration, you may wish to set the java options to include `JAVA_OPTS`. As an example for a java app server role:\n\n```ruby\nname \"java-app-server\"\nrun_list(\"recipe[tomcat]\")\noverride_attributes(\n 'tomcat' => {\n 'java_options' => \"${JAVA_OPTS} -Xmx128M -Djava.awt.headless=true\"\n }\n)\n```\n\n\nRunning Multiple Instances\n-----------
"maintainer": "Opscode, Inc.",
"maintainer_email": "cookbooks@opscode.com",
"license": "Apache 2.0",
"platforms": {
"debian": ">= 0.0.0",
"ubuntu": ">= 0.0.0",
"centos": ">= 0.0.0",
"redhat": ">= 0.0.0",
"amazon": ">= 0.0.0",
"scientific": ">= 0.0.0"
},
"dependencies": {
"java": ">= 0.0.0",
"openssl": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
"tomcat::default": "Installs and configures Tomcat",
"tomcat::users": "Setup users and roles for Tomcat"
}
}