-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
24 lines (20 loc) · 1.15 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.box = "bento/ubuntu-14.04"
config.vm.synced_folder ".", "/opt/proxy_tests", create: true
# config.vm.synced_folder "/Users/tduffield/github/berkshelf/berkshelf", "/opt/berkshelf", create: true
# config.vm.synced_folder "/Users/tduffield/github/test-kitchen/test-kitchen", "/opt/test-kitchen", create: true
# config.vm.synced_folder "/Users/tduffield/github/chef/chef", "/opt/chef", create: true
# config.vm.synced_folder "/Users/tduffield/github/chef/ohai", "/opt/ohai", create: true
config.vm.provision "shell", inline: "sudo apt-get update"
config.vm.provision "shell", inline: "sudo apt-get -y install squid3 git curl wget vim apache2-utils g++ software-properties-common"
config.vm.provision "shell", inline: "sudo apt-add-repository -y ppa:rael-gc/rvm"
config.vm.provision "shell", inline: "sudo apt-get update"
config.vm.provision "shell", inline: "sudo apt-get -y install rvm"
config.vm.provision "shell", inline: "sudo htpasswd -b -c /etc/squid3/passwords proxy proxy"
end