- Description
- Setup - The basics of getting started with artifactory
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Artifactory is a universal artifact repository manager which can store software artifacts which are developed in various languages and technologies.
This module allows to search artifacts in an Artifactory instance via the Artifactory API and to download them to the managed node.
Manually install this module with Puppet module tool:
$ puppet module install stdtom-artifactory
The module relies on the Ruby client for Artifactory developed by Chef Software, Inc.
Therefore the RubyGem artifactory
has to be installed.
To install RubyGem artifactory
execute on Puppet Server:
$ /opt/puppetlabs/bin/puppetserver gem install artifactory -v 2.8.2
$ systemctl restart puppetserver
If you are running Puppet in a masterless environment, execute on the managed server:
$ /opt/puppetlabs/puppet/bin/gem install artifactory -v 2.8.2
To initialize Puppet for using the Artifactory client, declare the artifactory
class:
class { artifactory :
endpoint => 'https://repo.jfrog.org/artifactory',
}
If you are running the "default" Artifactory installation using tomcat, don't forget to include the
+/artifactoy+ part of the URL in the endpoint
parameter.
In case your Artifactory server requires authentication, you can also initialize the [artifactory
][] class with
basic authentication information. Since this uses HTTP Basic Auth, it is highly recommended that you run Artifactory over SSL.
class { artifactory :
endpoint => 'https://repo.jfrog.org/artifactory',
username => 'myuserid',
password => 'secretpassword',
}
You can also use an API key for authentication. Username and password take precedence so leave them off if you are using an API key.
class { artifactory :
endpoint => 'https://repo.jfrog.org/artifactory',
api_key => 'xxxxxxxxxxxxxxx',
}
artifactory::artifact {'myartifact':
group_id => 'org.artifactory',
artifact_id => 'artifactory-api',
version => '',
repository => 'oss-releases-local',
output => "/tmp/",
extension => 'jar',
}
see (REFERENCE.md)
For an extensive list of supported operating systems, see (metadata.json)
In the Development section, tell other users the ground rules for contributing to your project and how they should submit their work.
If you aren't using changelog, put your release notes here (though you should consider using changelog). You can also add any additional sections you feel are necessary or important to include here. Please use the ##
header.