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

alphard-artifactory (7) Versions 1.1.1

Installs/Configures Artifactory

Policyfile
Berkshelf
Knife
cookbook 'alphard-artifactory', '~> 1.1.1', :supermarket
cookbook 'alphard-artifactory', '~> 1.1.1'
knife supermarket install alphard-artifactory
knife supermarket download alphard-artifactory
README
Dependencies
Quality 17%

alphard-artifactory Cookbook

This cookbook provides a resource wrapper for artifactory server.

Requirements

  • Ubuntu 14.04

Chef

  • Chef 12.0 or later

Packages

  • java - alphard-artifactory needs java to launch tomcat container
  • apache2 - alphard-artifactory needs apache2 to install a proxuy pass reverse

Attributes

The configuration attributes are a partial implementation of the artifactory configuration xml schema :
https://www.jfrog.com/public/xsd/artifactory-v1_7_9.xsd. You can find documentation here and on the artifactory web site.

Install

  • ['java']['install_flavor'] - the java install flavor [default: oracle]
  • ['java']['jdk_version'] - the java install flavor [default: 8]
  • ['java']['oracle']['accept_oracle_download_terms'] - the java install flavor [default: true]
  • ['alphard']['artifactory']['home'] - the artifactory home path
  • ['alphard']['artifactory']['version'] - the artifactory version
  • ['alphard']['artifactory']['fqdn'] - the artifactory fqdn [default: localhost]
  • ['alphard']['artifactory']['port'] - the artifactory port [default: 8080]
  • ['alphard']['artifactory']['url'] - the artifactory url

Apache2

  • ['apache']['listen'] - the apache2 listening port [default: 80 and 8080]
  • ['alphard']['artifactory']['apache2']['file'] - the apache2 virtual host file
  • ['alphard']['artifactory']['apache2']['fqdn'] - the apache2 virtual host fqdn
  • ['alphard']['artifactory']['apache2']['port'] - the apache2 virtual host port
  • ['alphard']['artifactory']['apache2']['url'] - the apache2 virtual host reverse proxy pass url
  • ['alphard']['artifactory']['apache2']['email'] - the apache2 virtual email

General Config

  • ['alphard']['artifactory']['serverName'] - the artifactory server name
  • ['alphard']['artifactory']['offlineMode'] - the artifactory offline mode
  • ['alphard']['artifactory']['helpLinksEnabled'] - the artifactory help links enabled
  • ['alphard']['artifactory']['fileUploadMaxSizeMb'] - the artifactory file upload max size mb
  • ['alphard']['artifactory']['dateFormat'] - the artifactory date format

Security

  • ['alphard']['artifactory']['security']['anonAccessEnabled'] - the artifactory security anonymous access enabled
  • ['alphard']['artifactory']['security']['anonAccessToBuildInfosDisabled'] - the artifactory security anonymous access to build infos disabled
  • ['alphard']['artifactory']['security']['hideUnauthorizedResources'] - the artifactory security hide unauthorized resources
  • ['alphard']['artifactory']['security']['passwordSettings']['encryptionPolicy'] - the artifactory security encryption policy support
  • ['alphard']['artifactory']['security']['passwordSettings']['expirationPolicy']['enabled'] - the artifactory security encryption policy enabled
  • ['alphard']['artifactory']['security']['passwordSettings']['expirationPolicy']['passwordMaxAge'] - the artifactory security encryption policy password max age
  • ['alphard']['artifactory']['security']['passwordSettings']['expirationPolicy']['notifyByEmail'] - the artifactory security encryption policy notify by email

  • ['alphard']['artifactory']['security']['userLockPolicy']['enabled'] - the artifactory security user lock policy enabled

  • ['alphard']['artifactory']['security']['userLockPolicy']['loginAttempts'] - the artifactory security user lock policy login attempts

Backup

  • ['alphard']['artifactory']['backups'] - the artifactory backups (see default attributes for sample configuration)

Indexer

  • ['alphard']['artifactory']['indexer']['cronExp'] - the artifactory indexer cron expression

Local repositories

  • ['alphard']['artifactory']['localRepositories'] - the artifactory local repositories (see default attributes for sample configuration)

Remote repositories

  • ['alphard']['artifactory']['remoteRepositories'] - the artifactory remote repositories (see default attributes for sample configuration)

Virtual repositories

  • ['alphard']['artifactory']['virtualRepositories'] - the artifactory virtual repositories (see default attributes for sample configuration)

Base URL

  • ['alphard']['artifactory']['urlBase'] - the artifactory url base

Logo

  • ['alphard']['artifactory']['logo'] - the artifactory logo

Footer

  • ['alphard']['artifactory']['footer'] - the artifactory footer

GC Config

  • ['alphard']['artifactory']['gcConfig']['cronExp'] - the artifactory gc cron expression

Cleanup Config

  • ['alphard']['artifactory']['cleanupConfig']['cronExp'] - the artifactory cleanup cron expression

Virtual Cache Cleanup Config

  • ['alphard']['artifactory']['virtualCacheCleanupConfig']['cronExp'] - the artifactory virtual cache cleanup cron expression

Folder Download Config

  • ['alphard']['artifactory']['folderDownloadConfig']['enabled'] - the artifactory folder download enabled
  • ['alphard']['artifactory']['folderDownloadConfig']['maxDownloadSizeMb'] - the artifactory folder download max download size
  • ['alphard']['artifactory']['folderDownloadConfig']['maxFiles'] - the artifactory folder download max files
  • ['alphard']['artifactory']['folderDownloadConfig']['maxConcurrentRequests'] - the artifactory folder download max concurrent requests

System Message Config

  • ['alphard']['artifactory']['systemMessageConfig']['enabled'] - the artifactory folder system message enabled
  • ['alphard']['artifactory']['systemMessageConfig']['title'] - the artifactory folder system message title
  • ['alphard']['artifactory']['systemMessageConfig']['titleColor'] - the artifactory folder system message title color
  • ['alphard']['artifactory']['systemMessageConfig']['message'] - the artifactory folder system message
  • ['alphard']['artifactory']['systemMessageConfig']['showOnAllPages'] - the artifactory folder system message show on all pages

Trash Can Config

  • ['alphard']['artifactory']['trashcanConfig']['enabled'] - the artifactory trashcan enabled
  • ['alphard']['artifactory']['trashcanConfig']['allowPermDeletes'] - the artifactory trashcan allow perm deletes
  • ['alphard']['artifactory']['trashcanConfig']['retentionPeriodDays'] - the artifactory trashcan retention period days

Usage

alphard-artifactory::default

Just include alphard-artifactory in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[alphard-artifactory]",
    "recipe[alphard-artifactory::apache2]"
  ]
}

License

Copyright 2009-2016, Hydra Technologies, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Authors

Dependent cookbooks

java ~> 1.43.0
apache2 ~> 3.2.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.1.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.1.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
            

1.1.1 failed this metric

FC064: Ensure issues_url is set in metadata: alphard-artifactory/metadata.rb:1
FC065: Ensure source_url is set in metadata: alphard-artifactory/metadata.rb:1
FC066: Ensure chef_version is set in metadata: alphard-artifactory/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: alphard-artifactory/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.1.1 passed this metric

Testing File Metric
            

1.1.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
            

1.1.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