cookbook 'archiva', '~> 3.0.0'
archiva (5) Versions 3.0.0 Follow1
Installs/Configures Archiva
cookbook 'archiva', '~> 3.0.0', :supermarket
knife supermarket install archiva
knife supermarket download archiva
archiva cookbook
This cookbook installs Apache Archiva 2.2.4 standalone.
Requirements
ark
java
-
nginx
- If the
nginx_proxy
recipe is not used, nginx won’t be installed
- If the
Attributes
Key | Type | Description |
---|---|---|
['archiva']['version'] |
string | the version of Archiva to install |
['archiva']['checksum'] |
string | SHA512 checksum used by Ark |
['archiva']['install_path'] |
string | Path for Ark to install Archiva to |
['archiva']['home'] |
string | Where Archiva will be upon installation |
['archiva']['user_owner'] |
string | Owner of Archiva |
['archiva']['web_host'] |
string | Hostname for Archiva; used for Nginx |
['archiva']['web_port'] |
string | Port that Archiva listens on |
['archiva']['web_domain'] |
string | Server name used by Nginx |
['archiva']['web_template'] |
string | Portion of template filename for Nginx |
['archiva']['nginx'] |
string | The nginx cookbook recipe to use |
['archiva']['nginx_uri'] |
string | The Nginx server location |
['archiva']['nginx_port'] |
string | Nginx virtual host listen port |
Usage
Either:
- Add
archiva::default
to a node’s run list
Or:
- Add
archiva::nginx_proxy
to a run list to includearchiva::default
, which installs NGINX & sets it to handle proxing requests to Archiva
Wrapping this cookbook
Should you wish to customize this cookbook’s behavior, the recommendation is to follow The Berkshelf Way and write a wrapper cookbook for this one.
You would then include this cookbook’s recipe(s) in your wrapper cookbook, setting attributes in whatever fashion makes sense for your use case.
E.g.,
# attributes/default.rb override['java']['java_home'] = '/usr/lib/jvm/java-7-openjdk-amd64' override['java']['java_exec'] = node['java']['java_home'] + '/bin/java' override['java']['jdk_version'] = '7' override['archiva']['nginx_uri'] = '/archiva/' override['archiva']['nginx_port'] = '8080' override['archiva']['web_host'] = 'localhost' override['archiva']['web_port'] = '9090' # recipes/default.rb include_recipe 'archiva' include_recipe 'archiva::nginx_proxy'
Contributing
See CONTRIBUTING.MD
License and Authors
Author:: Jeff Byrnes thejeffbyrnes@gmail.com
Author:: Eric Herot eric.herot@gmail.com
Author:: Ed Hurtig eddie@hurtigtechnologies.com
Author:: Jorge Espada espada.jorge@gmail.com
License:: Apache License v2.0
Dependent cookbooks
apt ~> 7.2 |
ark ~> 4.0 |
java ~> 4.3 |
nginx ~> 10.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
archiva CHANGELOG
This is the changelog for the archiva cookbook.
v3.0.0 (2019-10-25)
- Set default Archiva version to 2.2.4
- Upgrade
apt
to v7.x - Upgrade
java
cookbook to v4.x - Upgrade
chef_nginx
cookbook tonginx
v10.x & adjustarchiva::nginx_proxy
to suit - Update default attribute value to install Java 8
- On Debian >= 10.0, it will install Java 11, as that’s what’s available
- Drop AWS-based testing in favor of Docker-based testing
- Drop support for Ubuntu 12.04 & 14.04, and Debian 7
- Add support for Ubuntu 16.04, Ubuntu 18.04, Debian 9, & Debian 10
- Drop Coveralls from unit tests
v2.0.0 (2017-03-13)
- Bump
chef_nginx
to v5
v1.2.0 (2016-09-26)
- Use chef_nginx instead of nginx
v1.1.0 (2016-03-21)
- Add
node[:archiva][:mirror]
attribute to allow operator to customize where Archiva is downloaded from - Refactor test harness to work well in Travis & do integration testing
v1.0.1 (2015-03-13)
- Reload nginx when archiva_server.conf changes
v1.0.0 (2014-09-24)
- Refactored to install Archiva ≥ 2.1.1
- Fixed up metadata
- Added Berkshelf support
- Added ChefSpec unit tests
- Added Test Kitchen
- Added ServerSpec integration tests
- Wired up to Travis CI for all tests
- Wired up to Coveralls.io for unit test coverage
v0.0.1 (2014-01-10)
- Initial rev
Collaborator Number Metric
3.0.0 passed this metric
Contributing File Metric
3.0.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
3.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.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
3.0.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 include a tag that matches this cookbook version number
3.0.0 passed this metric
3.0.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
3.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.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
3.0.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 include a tag that matches this cookbook version number
3.0.0 passed this metric
3.0.0 passed this metric
Testing File Metric
3.0.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
3.0.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 include a tag that matches this cookbook version number
3.0.0 failed this metric
3.0.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 include a tag that matches this cookbook version number