Installs JFrog's Artifactory
Cookbook partially copied from Agileorbit artifactory cookbook. This cookbook has been updated to support chef-client 13+ and install artifactory from yum repo.
- Java cookbook
- apache2 cookbook
This cookbook doesn't configure Artifactory since Artifactory was designed primarily for configuration from the UI. It's possible to bootstrap Artifactory's configuration by copying an existing configuration to $ARTIFACTORY_HOME/etc/artifactory.config.import.xml
. A configuration file can be obtained from a running Artifactory server using curl:
curl -u admin:password -X GET -H 'Accept: application/xml' http://localhost:8081/artifactory/api/system/configuration
Refer to Artifactory user guide for more details
The default username/password for the server is admin/password
Attribute | Default | Comment |
---|---|---|
['artifactory_ii']['java']['xmx'] | '1g' | String, maximum memory assigned to the java process |
['artifactory_ii']['java']['xms'] | '512m' | Stirng, minimum memory assigned to the java process |
['artifactory_ii']['java']['extra_opts'] | '-XX:+UseG1GC' | String, additional java tuning options to pass to the process |
['artifactory_ii']['install_java'] | true | boolean, have artifactory cookbook install java |
- artifactory_ii::default - Installs Artifactory
- artifactory_ii::apache_proxy - Setup Apache reverse proxy in front of Artifactory
- Author:: Avishai Ish-Shalom ([email protected])
- Author:: Eric Helgeson ([email protected])
- Author:: Corey Hemminger ([email protected])