nerdshack604 / evenup-artifactory

A puppet module to module install the artifactory package, configures and manages the service, and provides a method to fetch artifacts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is it?

A puppet module that installs artifactory and manages the service. Configuration of artifactory is mainly done through the app. A define is also provided that will fetch artifacts from the repository aideing in application deployments.

Note: Java is required for this module but I didn't add it to the Modulefile as a dependency since there are so many indivudalized java deployments.

Backups are done through the backup rubygem.

Usage:

Generic artifactory install

  class { 'artifactory':
    serverAlias => [ 'artifactory', 'artifactory.mycompany.com' ]
  }

Fetching an artifact:

  artifactory::fetch_artifact { 'mywar':
    project       => 'myproject',
    version       => '1.2.3',
    format        => 'war',
    install_path  => '/data/tomcat/site',
    filename      => 'myproject-1.2.3-war'
  }

This will fetch a war of version 1.2.3 of myproject and store it as /data/tomcat/site/myproject-1.2.3-war.

Known Issues:

Only tested on CentOS 6

TODO:


[ ] Make backups optional [ ] Make vhost optional [ ] Add more configurability [ ] Verify against artifactory 3

License:


Released under the Apache 2.0 licence

Contribute:

  • Fork it
  • Create a topic branch
  • Improve/fix (with spec tests)
  • Push new topic branch
  • Submit a PR

About

A puppet module to module install the artifactory package, configures and manages the service, and provides a method to fetch artifacts

License:Other


Languages

Language:Ruby 62.5%Language:Puppet 35.0%Language:HTML 2.6%