cookbook 'esri-tomcat', '= 0.1.9'
esri-tomcat (12) Versions 0.1.9 Follow0
Installs/Configures esri-tomcat
cookbook 'esri-tomcat', '= 0.1.9', :supermarket
knife supermarket install esri-tomcat
knife supermarket download esri-tomcat
esri-tomcat cookbook
This cookbook installs and configures Apache Tomcat for using with ArcGIS Web Adaptor.
Requirements
Platforms
- Ubuntu Server 18.04 and 20.04 LTS
- Red Hat Enterprise Linux Server 8
- SUSE Linux Enterprise Server 15
- CentOS Linux 8
- Oracle Linux 8
Dependencies
The following cookbooks are required:
* tomcat
* openssl
Attributes
General
-
node['tomcat']['version']
= Tomcat version to install. Default is9.0.48
. -
node['tomcat']['instance_name']
= tomcat instance name. Default isarcgis
. -
node['tomcat']['install_path']
= tomcat installation directory. Default is/opt/tomcat_INSTANCENAME_VERSION
. -
node['tomcat']['tarball_path']
= tomcat tarball archive path. Default is<Chef file cache path>/apache-tomcat-<tomcat version>.tar.gz
. -
node['tomcat']['verify_checksum']
= Verify checksum of downloaded tomcat tarball. Default value istrue
. -
node['tomcat']['forward_ports']
= If set totrue
, default recipe includes 'firewalld' or 'iptables' recipe. Default value istrue
. -
node['tomcat']['firewalld']['init_cmd']
= firewalld initialization command. The default command isfirewall-cmd --zone=public --permanent --add-port=0-65535/tcp
.
SSL/TLS
-
node['tomcat']['keystore_file']
= Optional: Path to the keystore file. If not provided, a new file and a self-signed certificate will be created. -
node['tomcat']['keystore_password']
= Optional: Password to the keystore. -
node['tomcat']['ssl_enabled_protocols']
= SSL protocols of HTTPS listener. Default isTLSv1.3,TLSv1.2
. -
node['tomcat']['domain_name']
= Domain name for generated self-signed SSL certificate. Default isFully Qualified Domain Name
.
OpenJDK
-
node['java']['version']
= Major java version. Default version is11
. -
node['java']['tarball_uri']
= JDK tarball URI. Default URI ishttps://download.java.net/java/ga/jdk11/openjdk-11_linux-x64_bin.tar.gz
. -
node['java']['tarball_path']
= JDK tarball local path. Default path is<file_cache_path>/openjdk-11_linux-x64_bin.tar.gz
. -
node['java']['install_path']
= JDK installation path. Default path is/opt
.
Recipes
esri-tomcat::default
Installs and configures Apache Tomcat application server for ArcGIS Web Adaptor.
If node['tomcat']['forward_ports'] attribute is true
(default value), the recipe also configures port forwarding (80 to 8080 and 443 to 8443) using iptables or firewalld recipes.
esri-tomcat::install
Installs Apache Tomcat application server.
esri-tomcat::configure_ssl
Configures HTTPS listener in Apache Tomcat application server.
esri-tomcat::iptables
Installs iptables and configures HTTP(S) port forwarding (80 to 8080 and 443 to 8443).
esri-tomcat::firewalld
Installs FirewallD and configures HTTP(S) port forwarding (80 to 8080 and 443 to 8443).
If firewalld service was started by the recipe, the recipe execute script specified by
node['tomcat']['firewalld']['init_cmd']
which by default opens all the TCP ports on the machine.
esri-tomcat::openjdk
Installs OpenJDK for Apache Tomcat from a local ur remote tarball.
Issues
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Contributing
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Licensing
Copyright 2016-2021 Esri
Licensed under the Apache License, Version 2.0 (the "License");
You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
A copy of the license is available in the repository's License.txt file.
[](Esri Tags: ArcGIS Chef Cookbook Tomcat)
[](Esri Language: Ruby)
Dependent cookbooks
tomcat >= 3.2.0 |
openssl ~> 8.5 |
iptables ~> 7.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
esri-tomcat cookbook CHANGELOG
This file is used to list changes made in each version of the esri-tomcat cookbook.
0.1.9
- Added support for Apache Tomcat 9.
- Added support for new linux platforms.
0.1.8
- Added iptables, firewalld, and openjdk recipes.
0.1.7
- Disabled AJP port connector.
0.1.6
- Added tarball_path attribute.
0.1.5
- Updated and locked versions of dependent cookbooks.
0.1.4
- Install Tomcat 8.0.53 as default.
- Use openjdk for test kitchen.
0.1.3
- Add ec2 test kitchen.
0.1.2
- Update tomcat dependency version > 2.5.2
- Fix chef 14 deprecation warnings
- Update kitchen to use chef 13
0.1.1
- Add additional guard for tomcat_install resource
- Fix some rubocop offenses
0.1.0
- Installs and configures Apache Tomcat for using with ArcGIS Web Adaptor
Collaborator Number Metric
0.1.9 passed this metric
Contributing File Metric
0.1.9 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.9 failed this metric
FC069: Ensure standardized license defined in metadata: esri-tomcat/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.9 passed this metric
Testing File Metric
0.1.9 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.9 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.9 passed this metric
0.1.9 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.9 failed this metric
FC069: Ensure standardized license defined in metadata: esri-tomcat/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.9 passed this metric
Testing File Metric
0.1.9 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.9 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.9 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.9 passed this metric
Testing File Metric
0.1.9 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.9 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.9 failed this metric
0.1.9 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