Redmine2 Cookbook
Installs Redmine v2, a Ruby on Rails ticket tracking and wiki tool
Requirements
Platform
Tested on ubuntu 12.04
cookbooks
- postgresql
- rbenv
- ruby_build
- nginx
- runit
- database
Attributes
Key | Type | Description | Default |
---|---|---|---|
['redmine2']['bacon'] | Boolean | whether to include bacon | true |
['redmine']['home'] | String | Location for Redmine application | /home/redmine |
['redmine']['host'] | String | Redmine Domain | redmine.example.com |
['redmine']['user'] | String | Owner of redmine files | redmine |
['redmine']['ruby_version'] | String | Redmine Ruby Version | 1.9.3-p484 |
['redmine']['version'] | String | Redmine version | 2.4.3 |
['redmine']['db']['type'] | String | Type of redmine database | postgresql |
['redmine']['db']['dbname'] | String | Redmine DB name | redmine |
['redmine']['db']['username'] | String | Redmine DB user | redmine |
['redmine']['db']['hostname'] | String | Redmine DB host | localhost |
['redmine']['db']['password'] | String | Redmine DB password | 123456 |
Usage
To install via librarian-chef add to your Cheffile the following lines
cookbook 'rbenv', git: 'https://github.com/fnichol/chef-rbenv'
cookbook 'redmine2', git: 'https://github.com/aminin/redmine2-cookbook'
and run librarian-chef install
Configure your role/node e.g.:
{
redmine: {
host: 'redmine.dev',
db: {
password: '<top-secret1>'
}
},
postgresql: {
password: {
postgres: '<top-secret2>' # Need admin access to create redmine DB
}
},
run_list: %w(recipe[postgresql::server] recipe[redmine2])
}
Contributing
- 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
License and Authors
Authors: TODO: List authors