Skip to content

Numergy/gemirro-cookbook

Repository files navigation

gemirro Cookbook | Build Status

This cookbook install and configure gemirro.

Requirements

  • nginx
  • apache2
  • apt
  • hostsfile

Attributes

gemirro::default

Key Type Description Default
['gemirro']['version'] String Which version of Gemirro you want to install. (Nil is latest) nil
['gemirro']['force_update'] Boolean Get Gemirro always up to date by forcing update. false
['gemirro']['directory'] String The directory where the repository will be created. /opt/gemirro
['gemirro']['gems'] Hash of array List of gem containing a list of versions. (Example: {'gemirro': ['0.1.0', '0.2.0']} {}
['gemirro']['server']['type'] String Define if you want to use nginx or apache for the proxypass. nginx
['gemirro']['server']['host'] String The hostname for the apache or nginx configuration. node['fqdn']
['gemirro']['server']['port'] String The port used for the apache or nginx configuration. 80
['gemirro']['server']['log_directory'] String The directory where access and error log are stored. /var/log/gemirro

Usage

gemirro::default

Just include gemirro in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[gemirro]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors:

About

Cookbook for installing gemirro to manage rubygems mirror.

Resources

Stars

Watchers

Forks

Packages

No packages published