This cookbook install and configure gemirro.
nginx
apache2
apt
hostsfile
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 |
Just include gemirro
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[gemirro]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors:
- Pierre Rambaud ([email protected])