Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (38 sloc) 2.18 KB


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



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


Opscode cookbooks (

  • git

  • sqlite

  • mysql

  • rails

  • passenger_apache2

  • apache2


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

  • redmine[:version] - release version of redmine to use.

  • redmine[:dir] - directory where redmine will be installed.

  • redmine[:db][: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[:db][:user] - database user to connect as, default is redmine.

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

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


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.



Joshua Timberman (<>)


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

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.

Something went wrong with that request. Please try again.