Version information
Start using this module
Add this module to your Puppetfile:
mod 'BoxUpp-apache_maven', '0.0.3'
Learn more about managing modules with a PuppetfileDocumentation
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.
Copyright © 2014-2015 Paxcel Technologies (p) Ltd