cookbook 'redmine2', '= 0.4.2'
redmine2 (9) Versions 0.4.2 Follow5
Installs/Configures redmine2
cookbook 'redmine2', '= 0.4.2', :supermarket
knife supermarket install redmine2
knife supermarket download redmine2
Redmine2 Cookbook
Installs Redmine v2, a Ruby on Rails ticket tracking and wiki tool
Requirements
Platform
Tested on ubuntu 12.04, 14.04
cookbooks
- postgresql
- rbenv
- ruby_build
- nginx
- runit
- database
Attributes
Key | Type | Description | Default |
---|---|---|---|
<tt>['redmine2']['bacon']</tt> | Boolean | whether to include bacon | <tt>true</tt> |
<tt>['redmine']['home']</tt> | String | Location for Redmine application | <tt>/home/redmine</tt> |
<tt>['redmine']['host']</tt> | String | Redmine Domain | <tt>redmine.example.com</tt> |
<tt>['redmine']['user']</tt> | String | Owner of redmine files | <tt>redmine</tt> |
<tt>['redmine']['ruby_version']</tt> | String | Redmine Ruby Version | <tt>1.9.3-p484</tt> |
<tt>['redmine']['version']</tt> | String | Redmine version | <tt>2.4.3</tt> |
<tt>['redmine']['db']['type']</tt> | String | Type of redmine database | <tt>postgresql</tt> |
<tt>['redmine']['db']['dbname']</tt> | String | Redmine DB name | <tt>redmine</tt> |
<tt>['redmine']['db']['username']</tt> | String | Redmine DB user | <tt>redmine</tt> |
<tt>['redmine']['db']['hostname']</tt> | String | Redmine DB host | <tt>localhost</tt> |
<tt>['redmine']['db']['password']</tt> | String | Redmine DB password | <tt>123456</tt> |
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]) }
Runing tests
bundle exec rake foodcritic
bundle exec rake kitchen:all
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
Dependent cookbooks
rbenv >= 0.0.0 |
ruby_build >= 0.0.0 |
nginx >= 0.0.0 |
runit >= 0.0.0 |
database >= 0.0.0 |
postgresql >= 0.0.0 |
mysql >= 0.0.0 |
sqlite >= 0.0.0 |
certificate >= 0.0.0 |
iptables >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Redmine2 CHANGELOG
This file is used to list changes made in each version of the redmine2 cookbook.
0.1.0
- [Anton Minin] - Initial release of redmine2
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.