forked from FasterXML/jackson-module-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
40 lines (31 loc) · 878 Bytes
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.require_version ">= 1.7.0"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box
end
if Vagrant.has_plugin?("vagrant-omnibus")
config.omnibus.chef_version = :latest
end
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 5005, host: 5005
config.vm.provider :virtualbox do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.provision :chef_zero do |chef|
chef.add_recipe :apt
chef.add_recipe :git
chef.add_recipe :maven
chef.add_recipe :'sbt-extras'
chef.json = {
:java => {
:jdk_version => '6'
}
}
end
config.ssh.forward_agent
end