Permalink
Browse files

Add simple Vagrant setup

Use Debian 6.0 Squeeze box from Reaktor.

Fixes #1.
  • Loading branch information...
1 parent 92dee0c commit 68979ea25c4f7ad7ca5983e65c7200433b1aa0ed @tmatilai tmatilai committed Jan 21, 2013
Showing with 26 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +3 −0 Berksfile
  3. +4 −0 Gemfile
  4. +15 −0 Vagrantfile
View
@@ -0,0 +1,4 @@
+/.bundle/
+/.vagrant
+/Berksfile.lock
+/Gemfile.lock
View
@@ -0,0 +1,3 @@
+site :opscode
+
+metadata
View
@@ -0,0 +1,4 @@
+source :rubygems
+
+gem 'berkshelf'
+gem 'vagrant', '~> 1.0.5'
View
@@ -0,0 +1,15 @@
+require 'berkshelf/vagrant'
+
+Vagrant::Config.run do |config|
+ config.vm.box = "reaktor-debian-6.0"
+ config.vm.box_url = "https://reaktor-vm.s3.amazonaws.com/vagrant/reaktor-debian-6.0.box"
+
+ config.vm.provision :chef_solo do |chef|
+ chef.log_level = :debug if ENV['DEBUG']
+
+ recipes = ENV['RECIPES'] || "default"
+ recipes.split.each do |recipe|
+ chef.add_recipe "debian::#{recipe}"
+ end
+ end
+end

0 comments on commit 68979ea

Please sign in to comment.