Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

redmine2 (9) Versions 0.5.2

Installs/Configures redmine2

Policyfile
Berkshelf
Knife
cookbook 'redmine2', '~> 0.5.2', :supermarket
cookbook 'redmine2', '~> 0.5.2'
knife supermarket install redmine2
knife supermarket download redmine2
README
Dependencies
Changelog
Quality 17%

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
<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.6.1</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>
<tt>['redmine']['themes']</tt> Array Redmine extra themes <tt>empty</tt>
<tt>['redmine']['plugins']</tt> Array Redmine plugins <tt>empty</tt>

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: 'redmine@redmine.dev'
                    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

Dependent cookbooks

rbenv >= 0.0.0
ruby_build >= 0.0.0
nginx >= 0.0.0
runit >= 0.0.0
database = 2.3.1
postgresql >= 0.0.0
mysql < 6.0
mysql-chef_gem < 1.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.

Collaborator Number Metric
            

0.5.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.5.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.5.2 failed this metric

FC064: Ensure issues_url is set in metadata: redmine2/metadata.rb:1
FC065: Ensure source_url is set in metadata: redmine2/metadata.rb:1
FC066: Ensure chef_version is set in metadata: redmine2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: redmine2/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: redmine2/metadata.rb:1
FC076: Metadata uses the deprecated "conflicts" keyword: redmine2/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.5.2 passed this metric

Testing File Metric
            

0.5.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.5.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number