cookbook 'artifactory', '~> 2.0.1'
artifactory (9) Versions 2.0.1 Follow15
Installs/Configures artifactory
cookbook 'artifactory', '~> 2.0.1', :supermarket
knife supermarket install artifactory
knife supermarket download artifactory
artifactory cookbook
Installs JFrog's Artifactory OSS 6.8.7
Requirements
- Java 8 (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 shutdown http port, default is 8015 -
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' -
node['artifactory']['install_java']
- Instruct this cookbook to install Java for you. Defaulttrue
-
node['artifactory']['use_ajp']
- Instruct this cookbook to install AJP proxy for you. Defaultfalse
-
node['artifactory']['ajp']['port']
-Port to use for AJP. Default 8019 -
node['artifactory']['ajp']['maxThreads']
- Maximum number of AJP threads. Default 500 -
node['artifactory']['ajp']['minSpareThreads']
- Number of reserved threads. Default 20 -
node['artifactory']['ajp']['enableLookups']
- Whether to do DNS lookups (performance hit) Default false -
node['artifactory']['ajp']['backlog']
- Maximum amounty of requests to queue when all threads are in use. Default 100
Recipes
- artifactory::default - Installs Artifactory
- artifactory::apache-proxy - Setup Apache reverse proxy in front of Artifactory
Author
Author:: Patrick Schaumburg (info@p-schaumburg.de)
Creators of the initial package
- Avishai Ish-Shalom (avishai@fewbytes.com)
- Eric Helgeson (erichelgeson@gmail.com)
- Ronald Chmara (ronabop@gmail.com)
License
Apache 2.0
Dependent cookbooks
java ~> 4.2.0 |
runit ~> 5.0.1 |
ark ~> 4.0.0 |
apache2 ~> 5.2.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
2.0.1 passed this metric
Contributing File Metric
2.0.1 passed this metric
Foodcritic Metric
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.1 passed this metric
2.0.1 passed this metric
2.0.1 passed this metric
Foodcritic Metric
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.1 passed this metric
2.0.1 passed this metric
2.0.1 passed this metric
Testing File Metric
2.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.1 passed this metric
2.0.1 failed this metric
2.0.1 passed this metric