Forge Home

artifactory

Download Maven Artifacts from Artifactory

38,195 downloads

38,195 latest version

0
Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.0.3 (latest)
released Aug 1st 2012

Start using this module

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

Add this module to your Puppetfile:

mod 'jcraigbrown-artifactory', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jcraigbrown-artifactory
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jcraigbrown-artifactory --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

jcraigbrown/artifactory — version 0.0.3 Aug 1st 2012

Puppet Module for Artifactory

A Puppet module which downloads artifacts from an Artifactory repository.

It supports:

  • artifact identification using GAV, classifier, and packaging
  • repository selection
  • timestamped SNAPSHOTs

It relies on the Artifactory REST service, bash, and curl.

This module is based on the Puppet Nexus module authored by Clement Escoffier.

Getting the Module

  • Retrieve it from Puppet Forge.

    puppet module install jcraigbrown-artifactory

  • Clone this repository and add it to your modulepath

Usage

# Initialize the Puppet Artifactory module
class {'artifactory':
  url => 'http://artifactory.domain.com',
}

artifactory::artifact {'commons-io':
  gav        => 'commons-io:commons-io:2.1',
  repository => 'public',
  output     => '/tmp/commons-io-2.1.jar',
}

artifactory::artifact {'/tmp/ipojo.jar':
  gav => 'org.apache.felix:org.apache.felix.ipojo:1.8.0',
}

artifactory::artifact {'/tmp/parser-0.3.0-SNAPSHOT.jar':
  gav         => 'com.company.project:parser:0.3.0-SNAPSHOT',
  timestamped => true,
}

artifactory::artifact {'chameleon web distribution':
  gav => 'org.ow2.chameleon:distribution-web:0.3.0-SNAPSHOT',
  classifier => 'distribution',
  packaging  => 'zip',
  repository => 'public-snapshots',
  output     => '/tmp/distribution-web-0.3.0-SNAPSHOT.zip'
}

License

This project is licensed under the Apache License, Version 2.0.