cookbook 'artifactory', '= 0.3.1', :supermarket
artifactory (8) Versions 0.3.1 Follow14
Installs/Configures artifactory
cookbook 'artifactory', '= 0.3.1'
knife supermarket install artifactory
knife supermarket download artifactory
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' -
node['artifactory']['install_java']
- Instruct this cookbook to install Java for you. Defaulttrue
Recipes
- artifactory::default - Installs Artifactory
- artifactory::apache-proxy - Setup Apache reverse proxy in front of Artifactory
Author
- Author:: Avishai Ish-Shalom (avishai@fewbytes.com)
- Author:: Eric Helgeson (erichelgeson@gmail.com)
Dependent cookbooks
apache2 >= 0.0.0 |
ark >= 0.0.0 |
runit >= 0.0.0 |
java >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Artifactory Cookbook CHANGELOG
v0.3.1 - 2/3/2015
- Updated Artifactory version to 3.3.1
- Change order so we actually get java opts
- Permissions fix
v0.3.0 - 9/19/2014
- Update to Artifactory 3.1.1
-
#1 Minor Changes
- ensure rsync is installed for ark
- make directories recursively to support custom home dirs
- make the home directory before the user resource, otherwise it will fail if home_dir doesn't exist
- remove apt from .kitchen.yml because it's not depended in the metadata.
v0.2.0 - Initial release
- Initial Releas
Collaborator Number Metric
0.3.1 passed this metric
Contributing File Metric
0.3.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 CONTRIBUTING.md file
Foodcritic Metric
0.3.1 failed this metric
FC064: Ensure issues_url is set in metadata: artifactory/metadata.rb:1
FC065: Ensure source_url is set in metadata: artifactory/metadata.rb:1
FC066: Ensure chef_version is set in metadata: artifactory/metadata.rb:1
FC069: Ensure standardized license defined in metadata: artifactory/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: artifactory/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.1 passed this metric
Publish Metric
0.3.1 passed this metric
Supported Platforms Metric
0.3.1 passed this metric
Testing File Metric
0.3.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
0.3.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 include a tag that matches this cookbook version number
0.3.1 passed this metric
0.3.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 CONTRIBUTING.md file
Foodcritic Metric
0.3.1 failed this metric
FC064: Ensure issues_url is set in metadata: artifactory/metadata.rb:1
FC065: Ensure source_url is set in metadata: artifactory/metadata.rb:1
FC066: Ensure chef_version is set in metadata: artifactory/metadata.rb:1
FC069: Ensure standardized license defined in metadata: artifactory/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: artifactory/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.1 passed this metric
Publish Metric
0.3.1 passed this metric
Supported Platforms Metric
0.3.1 passed this metric
Testing File Metric
0.3.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
0.3.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 include a tag that matches this cookbook version number
0.3.1 failed this metric
FC065: Ensure source_url is set in metadata: artifactory/metadata.rb:1
FC066: Ensure chef_version is set in metadata: artifactory/metadata.rb:1
FC069: Ensure standardized license defined in metadata: artifactory/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: artifactory/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.1 passed this metric
Publish Metric
0.3.1 passed this metric
Supported Platforms Metric
0.3.1 passed this metric
Testing File Metric
0.3.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
0.3.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 include a tag that matches this cookbook version number
0.3.1 passed this metric
0.3.1 passed this metric
Testing File Metric
0.3.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
0.3.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 include a tag that matches this cookbook version number
0.3.1 failed this metric
0.3.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 include a tag that matches this cookbook version number