-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
36 lines (30 loc) · 1.47 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
25
26
27
28
29
30
31
32
33
34
35
36
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
#To use on vagrant 1.8.1 install this pathc
#https://github.com/mitchellh/vagrant/commit/c2c1a443fdd6bb174183c7ee97d01e39db9a8581#diff-c379a6054318dfc48824835501d40778
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "ubuntu/trusty64"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", 6000]
end
config.vm.box_check_update = true
config.ssh.insert_key = false
config.vm.network "forwarded_port", guest: 9521, host: 9521
config.vm.network "forwarded_port", guest: 9553, host: 9553
config.vm.network "forwarded_port", guest: 9621, host: 9621
config.vm.network "forwarded_port", guest: 9630, host: 9630
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "ansible/plays/playbook.yml"
ansible.install = true
ansible.verbose = false
ansible.raw_arguments = [
'--extra-vars "git_repo=https://github.com/moonlitesolutions/SolrClient mirror=http://archive.apache.org/dist/lucene code_dir=/vagrant/code"'
#'--extra-vars "git_repo=https://github.com/nickvasilyev/SolrClient.git mirror=http://archive.apache.org/dist/lucene code_dir=/vagrant/code"'
]
end
end