Coder Social home page Coder Social logo

archiva-cookbook's Introduction

archiva cookbook

Cookbook Version Build Status

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

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 include archiva::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 [email protected]
Author:: Eric Herot [email protected]
Author:: Ed Hurtig [email protected]
Author:: Jorge Espada [email protected]

License:: Apache License v2.0

archiva-cookbook's People

Contributors

dougyouch avatar edhurtig avatar eherot avatar hkastler3w avatar jeffbyrnes avatar jespada avatar srgrn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

archiva-cookbook's Issues

Set me as a Supermarket collaborator

@jespada, I transferred ownership of the Supermarket cookbook to you, just to keep things in-line with the repo here. If you'd rather not, just transfer it back to me, and that'll be that.

Otherwise, would you please set me as a collaborator on Supermarket?

Upgrade to ark ~> 1.0

Now that the ark cookbook has finally had some new releases again, we can incorporate those, rather than the specific ref we currently have this cookbook pulling in.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.