Skip to content

fewbytes-cookbooks/artifactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

artifactory cookbook

Installs JFrog's Artifactory

Requirements

  • Java 7 (java cookbook)
  • ark cookbook

Usage

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

Attributes

node["artifactory"]["home"] - Artifactory home directory. Artifacts are kept here node["artifactory"]["log_dir"] - Artifactory/tomcat logs node["artifactory"]["port"] - Artifactory http port, default is 8081 node["artifactory"]["shutdown_port"] - Artifactory http port, default is 8081 node["artifactory"]["java"]["xmx"] - java Xmx (max heap size) node["artifactory"]["java"]["xms"] - java Xms (initial heap size) node["artifactory"]["java"]["extra_opts"] - Extra java options, default is "-XX:+UseG1GC"

Recipes

  • artifactory::default - installs Artifactory
  • artifactory::apache-proxy - setup Apache reverse proxy in front of Artifactory

Author

Author:: Avishai Ish-Shalom ([email protected])

Releases

No releases published

Packages

No packages published

Languages