Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 2.18 KB

README.rdoc

File metadata and controls

58 lines (38 loc) · 2.18 KB

DESCRIPTION:

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

REQUIREMENTS:

Platform:

Tested on Ubuntu 9.04, uses the Opscode Apache2 cookbook which is Ubuntu/Debian specific.

Cookbooks:

Opscode cookbooks (github.com/opscode/cookbooks/tree/master)

  • git

  • sqlite

  • mysql

  • rails

  • passenger_apache2

  • apache2

ATTRIBUTES:

  • redmine - download id on the rubyforge page, needs to be updated on new redmine releases.

  • redmine - release version of redmine to use.

  • redmine - directory where redmine will be installed.

  • redmine[:type] - type of database to use, default is sqlite. mysql or postgresql can be used, but the recipe will need to modified, and the next three attributes adjusted.

  • redmine[:user] - database user to connect as, default is redmine.

  • redmine[:password] - password for the user, default is a random string generated with OpenSSL::Random.random_bytes.

  • redmine[:hostname] - hostname of database server, default is localhost.

USAGE:

Including this recipe in a run_list, role or on a node will install Redmine as a Passenger application under Apache2.

include_recipe "redmine"

You’ll probably want to customize it to fit your environment, as a site-cookbook, especially if you want to use something besides sqlite as the database backend. The attributes file has database_master commented out as an example start on using a node search to determine a database host. See the Chef wiki regarding searches for more information.

http://wiki.opscode.com/display/chef/Search+Indexes

LICENSE and AUTHOR:

Author

Joshua Timberman (<joshua@opscode.com>)

Copyright

2009, Opscode, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.