Forge Home

tomcat

Installs, deploys, and configures Apache Tomcat web services.

8,326 downloads

8,326 latest version

2.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.0 (latest)
released Nov 2nd 2015
This version is compatible with:
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'avinashsi7-tomcat', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add avinashsi7-tomcat
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install avinashsi7-tomcat --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

avinashsi7/tomcat — version 0.1.0 Nov 2nd 2015

Tomcat

This is the tomcat module. It provides following

####Table of Contents

  1. Overview
  2. Setup - The basics of getting started with tomcat
  3. Reference - An under-the-hood peek at what the module is doing and how
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

##Overview

The tomcat module handles installing, configuring, and running tomcat across range of operating system.

##Setup

###What tomcat affects

  • Installs and configure tomcat .
  • Configures tomcat on nodes as service.

###Beginning with percona_clusters

You haves to pass in parameters from nodes.pp file in order to run this module. Below is the e.g. showing that


node "node1.com"
{

    include tomcat
        tomcat::instance{'node1':
        tomcat_version => '7',
        connector_port => '8080',
        redirectPort => '8443',
        server_port => '8005',
        connector_ajp_port => '8009',
   
       }
}

###Parameters

The following parameters are available in the tomcat module which are needed to be defined in nodes.pp file

####tomcat_version

Specify $tomcat_version which you want install i.e. 7 or 8. Please note this is mandatory field

####connector_port

Specify $connector_port on which you want to run tomcat default value is 8080.

####redirectPort

Specify the $redirectPort on which you want to run tomcat default value is 8443.

####server_port

Specify the $server_port for the tomcat default value is 8005.

####connector_ajp_port

Specify the $connector_ajp_port on which you want to run tomcat default value is 8009.

##Limitations

This module has been built on and tested against Puppet 2.7 and higher.

The module has been tested on:

  • RedHat Enterprise Linux 5/6
  • CentOS 5/6
  • Debian

##Development

Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can't access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.

We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

You can read the complete module contribution guide on the Puppet Labs wiki.

All trademarks and registered trademarks are the property of their respective owners.