Forge Home

apache_maven

A puppet module to install apache maven

9,318 downloads

8,514 latest version

1.5 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.0.6 (latest)
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Jul 3rd 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'BoxUpp-apache_maven', '0.0.6'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install BoxUpp-apache_maven --version 0.0.6

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/apache_maven — version 0.0.6 Jul 3rd 2014

Campaign_image #maven

####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 maven
  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 maven module installs the apache-maven with jdk and sets $JAVA_HOME path

##Module Description

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

##Setup

###What maven affects

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

###Beginning with maven

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

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

##Usage

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

###Parameters

The following parameters are available in the maven module:

####source_path

The is the directory from where the maven 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.

####maven_version

Sets maven version which you want to install.

####maven_path

Sets maven path.

####javaDownloadURI

Sets java download url.

####download_url

Sets the url path to download maven

####download_dir

Sets maven download dir path

##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 ####site :http://paxcel.net/ ####site :http://boxupp.com/