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

RSS

redmine2 (9) Versions 0.5.2

Installs/Configures redmine2

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

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

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 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.5.2 passed this metric

No Binaries Metric
            

0.5.2 passed this metric

Publish Metric
            

0.5.2 passed this metric

Supported Platforms 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