GithubHelp home page GithubHelp logo

chef-rvm-redmine's Introduction

rvm-redmine (rvm aware) Cookbook

This cookbook install redmine into rvm environment.

Requirements

cookbook

  • apache2
  • imagemagick
  • rvm

Attributes

environment

node['rvm_redmine']['rvm_name'] - default is "@redmine" node['rvm_redmine']['user'] - default is "www-data" node['rvm_redmine']['group'] - default is "www-data" node['rvm_redmine']['user_home'] - default is "/var/www/www-data" node['rvm_redmine']['dl_id'] - default is "76130" node['rvm_redmine']['version'] - default is "1.4.2" node['rvm_redmine']['name'] - default is "redmine-1.4.2" node['rvm_redmine']['file'] - default is "redmine-1.4.2.tar.gz" node['rvm_redmine']['archive'] - default is "/var/www/www-data/redmine-1.4.2.tar.gz" node['rvm_redmine']['path'] - default is "/var/www/www-data/redmine-1.4.2"

database connection

node['rvm_redmine']['db']['type'] - default is "mysql" node['rvm_redmine']['db']['user'] - default is "root" node['rvm_redmine']['db']['password'] - default is auto generated password that store into database.yml node['rvm_redmine']['db']['hostname'] - default is "localhost" node['rvm_redmine']['db']['dbname'] - default is "redmine"

apache

node['rvm_redmine']['hostname'] - default is 'localhost' node['rvm_redmine']['hostname_aliases'] - default is [] node['rvm_redmine']['url_subpath'] - default is nil that means mounting to '/'.

unicorn (see also https://github.com/opscode-cookbooks/unicorn )

node['rvm_redmine']['unicorn']['port'] - default is '10080' node["rvm_redmine"]["unicorn"]["options"] - default is [["tcp_nopush", "true"], ["backlog", "64"]] node['rvm_redmine']['unicorn']['worker_timeout'] - default is '30' node['rvm_redmine']['unicorn']['worker_processes'] - default is '4' node['rvm_redmine']['unicorn']['preload_app'] - default is true node['rvm_redmine']['unicorn']['unicorn_command_line'] - default is nil node['rvm_redmine']['unicorn']['forked_user'] - default is nil node['rvm_redmine']['unicorn']['forked_group'] - default is nil node['rvm_redmine']['unicorn']['before_exec'] - default is 'self[:logger].formatter = proc{|severity, datetime, progname, message| "#{datetime}: #{message}\n"}' node['rvm_redmine']['unicorn']['before_fork'] - default is 'defined?(ActiveRecord::Base) and ActiveRecord::Base.connection.disconnect!' node['rvm_redmine']['unicorn']['after_fork'] - default is 'defined?(ActiveRecord::Base) and ActiveRecord::Base.establish_connection' node['rvm_redmine']['unicorn']['copy_on_write'] - default is nil node['rvm_redmine']['unicorn']['enable_stats'] - default is nil

Usage

rvm-redmine::default

Include rvm-redmine in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[rvm-redmine]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you 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: Takayuki Shimizukawa License: Apache 2.0

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.