Chef SoloでRuby on Railsの環境構築ができたため、味を占めてRedmineの構築も自動化してみました。 Chefを動かすにはCentOS6にChef Soloをインストールするが必要なので、まず先にやっておきます。 Opscode CommunityでRedmineのCookbookを探してみたところ、redmine2というCookbookがあったためこれを使うことにしました。 今回、Chefで作成する構成は以下のとおりです。 Redmine Redmine 2.4.3 OS Ubuntu 12.04 データベース MySQL 5.5.37 Webサーバ nginx 1.1.19 Ruby 1.9.3-p484 まず、chef-repo配下にBerksfileを作成し、README.mdに指定のあったCookbookを設定します。 $ cd chef-repo/ $ v