Forge Home


Installs, deploys, and configures Apache Tomcat web services.


8,249 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.

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.



avinashsi7/tomcat — version 0.1.0 Nov 2nd 2015


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


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


###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 ""

    include tomcat
        tomcat_version => '7',
        connector_port => '8080',
        redirectPort => '8443',
        server_port => '8005',
        connector_ajp_port => '8009',


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


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


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


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


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


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


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


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.