cookbook 'redmine2', '~> 0.5.2'
redmine2 (9) Versions 0.5.2 Follow5
Installs/Configures redmine2
cookbook 'redmine2', '~> 0.5.2', :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
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
- 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 = 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
0.5.2 failed this 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
0.5.2 failed this metric
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
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
0.5.2 failed this 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