/redmine2-cookbook

Installs Redmine v2, a Ruby on Rails ticket tracking and wiki tool

Primary LanguageRuby

Redmine2 Cookbook

Build Status

Installs Redmine v2, a Ruby on Rails ticket tracking and wiki tool

Requirements

Platform

Tested on ubuntu 12.04

cookbooks

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

  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: TODO: List authors