Forge Home

tomcat

A puppet module to install apache-tomcat

BoxUpp

BoxUpp

38,885 downloads

22,982 latest version

1.9 quality score

Version information

  • 0.0.7 (latest)
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Jul 4th 2014

Start using this module

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

Add this declaration to your Puppetfile:

mod 'BoxUpp-tomcat', '0.0.7'
Learn more about managing modules with a Puppetfile

Add this module to a Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install BoxUpp-tomcat --version 0.0.7

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

BoxUpp/tomcat — version 0.0.7 Jul 4th 2014

Campaign_image #Tomcat

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with tomcat
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

##Overview

The tomcat module installs and configures apache-tomcat 7 or 8 as required by user.

##Module Description

The tomcat module handles installing, configuring, and running tomcat as service across a range of operating systems and distributions.

##Setup

###What tomcat affects

  • tomcat package.
  • java package.
  • configures $JAVA_HOME path.

###Beginning with tomcat

include 'tomcat' is enough to get you up and running. If you wish to pass in parameters Setsing which servers to use, then:

node "tomcat.vagrant.com" 
    {
        include tomcat 
    }

Define tomcat version. 7 or 8 in tomcat class

         $tomcat_version = hiera('tomcat::tomcat_version','8'),

##Usage

All interaction with the tomcat module can do be done through the main tomcat class. This means you can simply toggle the options in tomcat to have full functionality of the module.

###Parameters

The following parameters are available in the tomcat module:

####source_path

The is the directory from where the tomcat module will get its setup files.

####java_version

The parameter checks version of java i.e java 1.7 or java 1.8.

####java_dir

The is the base directory on which java is deployed.

####platform

This parameter takes input from the user to check machine platform i.e x86 bit or x64 bit.

####env_path

The is the parameter which sets java path.

####tomcat_version

Sets tomcat version which you want to install.

####tomcat_path

Sets tomcat path.

####javaDownloadURI

Sets java download url.

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

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

###Contributors

The list of contributors can be found at: https://github.com/BoxUpp/Puppet-Modules/graphs

##Sites ####http://boxupp.com/