Forge Home

ant

Apache ant module for Puppet

325,716 downloads

316,878 latest version

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

  • 1.0.5 (latest)
  • 1.0.4
  • 1.0.3
  • 1.0.0
released Jun 22nd 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'maestrodev-ant', '1.0.5'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add maestrodev-ant
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install maestrodev-ant --version 1.0.5

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

maestrodev/ant — version 1.0.5 Jun 22nd 2014

puppet-ant

Puppet module for installing Ant and/or Ivy from the Apache Software Foundation.

To install ant, simply include the ant class. You can also specify a particular version like so:

class { 'ant':
  version => 'x.y.z',
}

This module also lets you install the Ivy dependency management tool. To install Ivy, simply include the ant::ivy class. You can also specify a particular version like so:

class { 'ant::ivy':
  version => 'x.y.z',
}

You can use this module to install antlibs. Here is an example that installs the Maven ant tasks.

ant::lib{'maven-ant-tasks':
  source_url => 'http://archive.apache.org/dist/maven/binaries/maven-ant-tasks-2.1.3.jar',
  version => '2.1.3'
}

This will download the maven ant tasks jar file from the specified URL and place the maven-ant-tasks-2.1.3.jar file under the Ant lib directory.

License

Copyright 2011-2013 MaestroDev

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.