cookbook 'redmine2', '= 0.3.0'
redmine2 (9) Versions 0.3.0 Follow5
Installs/Configures redmine2
cookbook 'redmine2', '= 0.3.0', :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
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['redmine2']['bacon']</tt></td>
<td>Boolean</td>
<td>whether to include bacon</td>
<td><tt>true</tt></td>
</tr>
</tr>
<tr>
<td><tt>['redmine']['home']</tt></td>
<td>String</td>
<td>Location for Redmine application</td>
<td><tt>/home/redmine</tt></td>
</tr>
<tr>
<td><tt>['redmine']['host']</tt></td>
<td>String</td>
<td>Redmine Domain</td>
<td><tt>redmine.example.com</tt></td>
</tr>
<tr>
<td><tt>['redmine']['user']</tt></td>
<td>String</td>
<td>Owner of redmine files</td>
<td><tt>redmine</tt></td>
</tr>
<tr>
<td><tt>['redmine']['ruby_version']</tt></td>
<td>String</td>
<td>Redmine Ruby Version</td>
<td><tt>1.9.3-p484</tt></td>
</tr>
<tr>
<td><tt>['redmine']['version']</tt></td>
<td>String</td>
<td>Redmine version</td>
<td><tt>2.4.3</tt></td>
</tr>
<tr>
<td><tt>['redmine']['db']['type']</tt></td>
<td>String</td>
<td>Type of redmine database</td>
<td><tt>postgresql</tt></td>
</tr>
<tr>
<td><tt>['redmine']['db']['dbname']</tt></td>
<td>String</td>
<td>Redmine DB name</td>
<td><tt>redmine</tt></td>
</tr>
<tr>
<td><tt>['redmine']['db']['username']</tt></td>
<td>String</td>
<td>Redmine DB user</td>
<td><tt>redmine</tt></td>
</tr>
<tr>
<td><tt>['redmine']['db']['hostname']</tt></td>
<td>String</td>
<td>Redmine DB host</td>
<td><tt>localhost</tt></td>
</tr>
<tr>
<td><tt>['redmine']['db']['password']</tt></td>
<td>String</td>
<td>Redmine DB password</td>
<td><tt>123456</tt></td>
</tr>
</table>
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 |
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.