Skip to content

Commit 7ef362e

Browse files
committedAug 4, 2013
added a gitignore file and the start of a mongodb vagrantfile
1 parent 0709eb5 commit 7ef362e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.vagrant

‎mongodb/single-instance/Vagrantfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- mode: ruby -*-
2+
# vi: set ft=ruby :
3+
4+
Vagrant.configure("2") do |config|
5+
config.vm.box = "Ubuntu precise 64 VMWare"
6+
config.vm.box_url = "http://files.vagrantup.com/precise64_vmware.box"
7+
config.vm.provision "shell", inline: "sudo apt-get update -y"
8+
config.vm.provision "shell", inline: "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list"
9+
config.vm.provision "shell", inline: "sudo apt-get install mongodb-10gen"
10+
config.vm.provision "shell", inline: "sudo service mongodb start"
11+
end

0 commit comments

Comments
 (0)