Giter VIP home page Giter VIP logo

redmine2-cookbook's Introduction

Redmine2 Cookbook

Build Status Dependencies

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

Requirements

Platform

Tested on ubuntu 12.04, 14.04

cookbooks

Attributes

Key Type Description Default
['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.6.1
['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
['redmine']['themes'] Array Redmine extra themes empty
['redmine']['plugins'] Array Redmine plugins empty

Usage

To install via berkshelf add to your Berksfile the following lines

cookbook 'rbenv', git: 'https://github.com/aminin/chef-rbenv'
cookbook 'redmine2', git: 'https://github.com/aminin/redmine2-cookbook'

and run berks install

Configure your role/node e.g.:

{
    nginx: {
        default_site_enabled: false # Disable default nginx site
    },
    redmine: {
        host: 'redmine.dev',
        db: {
            password: '<top-secret1>'
        },
        plugins: [
            {
                name: 'redmine_github_hook',
                type: 'git',
                source: 'https://github.com/koppen/redmine_github_hook.git'
            }
        ],
        themes: [
            {
                name: 'pixel-cookers',
                type: 'git',
                source: 'https://github.com/pixel-cookers/redmine-theme.git'
            }
        ],
        config: {
            email: {
                smtp_settings: {
                    address: smtp.yandex.ru
                    port: 465
                    ssl: true
                    enable_starttls_auto: true
                    domain: redmine.dev
                    authentication: :login
                    user_name: '[email protected]'
                    password: '<top-secret123>'
                }
            }
        }
    },
    postgresql: {
        password: {
            postgres: '<top-secret2>' # Need admin access to create redmine DB
        }
    },
    run_list: %w(recipe[postgresql::server] recipe[redmine2] recipe[redmine2::themes] recipe[redmine2::plugins])
}

Runing tests

bundle exec rake foodcritic
bundle exec rake kitchen:all

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

redmine2-cookbook's People

Contributors

aminin avatar biinari avatar gortazar avatar mats16 avatar vohedge avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.