Skip to content

Commit

Permalink
Add simple Vagrant setup
Browse files Browse the repository at this point in the history
Use Debian 6.0 Squeeze box from Reaktor.

Fixes #1.
  • Loading branch information
Teemu Matilainen committed Jan 21, 2013
1 parent 92dee0c commit 68979ea
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.bundle/
/.vagrant
/Berksfile.lock
/Gemfile.lock
3 changes: 3 additions & 0 deletions Berksfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
site :opscode

metadata
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source :rubygems

gem 'berkshelf'
gem 'vagrant', '~> 1.0.5'
15 changes: 15 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -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.