Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Setup an Ubuntu VPS for RailsRumble
Ruby Perl
branch: master

This branch is 1 commit ahead, 2 commits behind flype:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
cookbooks
MIT-LICENSE
README.rdoc
Rakefile

README.rdoc

chef_solo_os

This repository is used to quickly build an Ubuntu Rails Linode VPS for RailsRumble via Chef Solo. Includes:

Mysql 5
Apache2 +Passenger
Nginx +Passenger

A deploy user is generated and assumes you will deploy your app to /var/www/sites/u/app/. The deploy user has access to sudo via nopasswd.

Chef Solo allows you to run Chef Cookbooks in the absence of a Chef Server. It does this by requiring that the complete cookbook be present on disk, which it will fetch by getting a tarball from a remote URL.

Tested

Ubuntu

8.04 LTS
8.04 LTS 64bit
8.10
8.10 x86 64-bit
9.04
9.04 64bit

Debian

4.0
4.0 64bit
5.0
5.0 64bit

Installation

Be sure to fork this repository adding your pubkey to cookbooks/users/files/default/deploy.pub, otherwise you cannot log into the VM (SSH as root is disabled by chef_solo_os).

On host:

* uncomment the universe lines from /etc/apt/sources.list.
* apt-get update && apt-get install wget
* wget http://gist.github.com/raw/172214/986dddee9b9c4c14e8de147abc17b95644684219/RR_server_setup -O - | sh && cd /tmp && git clone git://github.com/bigbadmachine/chef_solo_railsrumble.git && cd chef_solo_railsrumble && rake solo

Caveats

* Develop a better mechanism to bootstrap the system.
* Does not set the system's hostname.
Something went wrong with that request. Please try again.