Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

artifactory (9) Versions 0.4.0

Installs/Configures artifactory

Policyfile
Berkshelf
Knife
cookbook 'artifactory', '= 0.4.0', :supermarket
cookbook 'artifactory', '= 0.4.0'
knife supermarket install artifactory
knife supermarket download artifactory
README
Dependencies
Changelog
Quality 67%

artifactory cookbook

Installs JFrog's Artifactory

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 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. Default true
  • node['artifactory']['use_ajp'] - Instruct this cookbook to install AJP proxy for you. Default false
  • 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

License

Apache 2.0

Dependent cookbooks

java >= 0.0.0
runit >= 0.0.0
ark >= 0.0.0
apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Artifactory Cookbook CHANGELOG

v0.4.0 - 2/24/2019

  • Update necessary informations after transferring ownership
  • Update default recipe to set attribute based upon latest chef code
  • Add java.jdk_version in attributes
  • Add artifactory group in attributes
  • Add ajp in attributes for apache-proxy recipe and template
  • Change chef supermarket url in Berksfile
  • Change download url in attributes
  • Change catalina_base in attributes
  • Fix linting errors in metadata.rb

v0.3.4 - 5/16/2017

  • Requires Java 8
  • Updated artifactory version and checksum 5.2.1
  • Updated test platforms
  • Added AJP proxying default setings, cookbook loading, and template additions
  • Minor typo and extraneous string interpolation cleanups
  • Add ownership for directories
  • Fix httpd config file name
  • Add Travis CI builds

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 Release

Collaborator Number Metric
            

0.4.0 passed this metric

Contributing File Metric
            

0.4.0 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.4.0 passed this metric

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.0 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.4.0 passed this metric