Forge Home

apache_maven

A puppet module to install apache maven

9,390 downloads

8,542 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 May 6th 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.3'
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.3

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.3 May 6th 2014

Maven A puppet module for managing the installation of apache-maven.

Implemented Features:

Installs Java and configure MAVEN_HOME path Installs APACHE-MAVEN in linux Instructions

Follow the instructions provided on the parameters in init.pp file at the following parameter ( #Define java_version here $java_version = hiera('maven::java_version', '7' ), #Define java_dir here $java_dir = hiera('maven::java_dir', '/usr/java' ), $use_cache = hiera('maven::use_cache', false ), #Define OS platform here $platform = hiera('maven::platform', 'x64' ),

            # Define your environment variable diectory path here.
            $env_path   = hiera('maven::env_path',  '/root/.bash_profile'),
            # Define  maven base diectory path here.
            $base_dir   = hiera('maven::base_dir',  '/usr/local'),
            # Define  maven version.
            $maven_version  = hiera('maven::maven_version', 'apache-maven-3.2.1'),
            # Define  maven download url.
            $download_url   = hiera('maven::download_url',  'http://mirror.metrocast.net/apache/maven/maven-3/3.2.1/binaries/apache-maven-3.2.1-bin.tar.gz'),
            # Define  maven download dir.
            $download_dir   = hiera('maven::download_dir',  '/opt'),
            $maven_file = hiera('maven::maven_file',    'apache-maven-3.2.1-bin.tar.gz'),


    )

To include this module in nodes.pp on maven node follow the following example

Tomcat Nodes

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

Gnu General Public License This file is part of the maven Puppet module

The maven Puppet module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The maven Puppet module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

http://www.gnu.org/licenses/.

Copyright © 2014-2015 Paxcel Technologies (p) Ltd

http://paxcel.net/

http://boxupp.com/