Switch to unified view

a/vagrant/Vagrantfile b/vagrant/Vagrantfile
...
...
16
#       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
#       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
#       KIND, either express or implied.  See the License for the
17
#       KIND, either express or implied.  See the License for the
18
#       specific language governing permissions and limitations
18
#       specific language governing permissions and limitations
19
#       under the License.
19
#       under the License.
20
20
21
Vagrant::Config.run do |config|
21
Vagrant.configure("2") do |config|
22
  # All Vagrant configuration is done here. The most common configuration
22
  # All Vagrant configuration is done here. The most common configuration
23
  # options are documented and commented below. For a complete reference,
23
  # options are documented and commented below. For a complete reference,
24
  # please see the online documentation at vagrantup.com.
24
  # please see the online documentation at vagrantup.com.
25
25
26
  # Every Vagrant virtual environment requires a box to build off of.
26
  # Every Vagrant virtual environment requires a box to build off of.
...
...
28
28
29
  # The url from where the 'config.vm.box' box will be fetched if it
29
  # The url from where the 'config.vm.box' box will be fetched if it
30
  # doesn't already exist on the user's system.
30
  # doesn't already exist on the user's system.
31
  # config.vm.box_url = "http://domain.com/path/to/above.box"
31
  # config.vm.box_url = "http://domain.com/path/to/above.box"
32
32
33
  # Boot with a GUI so you can see the screen. (Default is headless)
33
  # Create a forwarded port mapping which allows access to a specific port
34
  # config.vm.boot_mode = :gui
34
  # within the machine from a port on the host machine. In the example below,
35
  # accessing "localhost:8080" will access port 80 on the guest machine.
36
  config.vm.network :forwarded_port, guest: 8080, host: 8080
37
  config.vm.network :forwarded_port, guest: 8983, host: 8983
35
38
36
  # Assign this VM to a host-only network IP, allowing you to access it
39
  # Create a private network, which allows host-only access to the machine
37
  # via the IP. Host-only networks can talk to the host machine as well as
40
  # using a specific IP.
38
  # any other machines on the same network, but cannot be accessed (through this
39
  # network interface) by any external networks.
40
  # config.vm.network :hostonly, "192.168.33.10"
41
  # config.vm.network :private_network, ip: "192.168.33.10"
41
42
42
  # Assign this VM to a bridged network, allowing you to connect directly to a
43
  # Create a public network, which generally matched to bridged network.
43
  # network using the host's network device. This makes the VM appear as another
44
  # Bridged networks make the machine appear as another physical device on
44
  # physical device on your network.
45
  # your network.
45
  # config.vm.network :bridged
46
  # config.vm.network :public_network
46
47
  # Forward a port from the guest to the host, which allows for outside
48
  # computers to access the VM, whereas host only networking does not.
49
  config.vm.forward_port 8080, 8080
50
  config.vm.forward_port 8983, 8983 # solr
51
47
52
  # Share an additional folder to the guest VM. The first argument is
48
  # Share an additional folder to the guest VM. The first argument is
53
  # an identifier, the second is the path on the guest to mount the
49
  # the path on the host to the actual folder. The second argument is
54
  # folder, and the third is the path on the host to the actual folder.
50
  # the path on the guest to mount the folder. And the optional third
51
  # argument is a set of non-required options.
55
  # config.vm.share_folder "v-data", "/vagrant_data", "../data"
52
  # config.vm.synced_folder "../data", "/vagrant_data"
53
54
  # Provider-specific configuration so you can fine-tune various
55
  # backing providers for Vagrant. These expose provider-specific options.
56
  # Example for VirtualBox:
57
  #
58
  config.vm.provider :virtualbox do |vb|
59
    # Don't boot with headless mode
60
    # vb.gui = true
61
  
62
    # Use VBoxManage to customize the VM. For example to change memory:
63
    vb.customize ["modifyvm", :id, "--memory", "1024"]
64
  end
65
  #
66
  # View the documentation for the provider you're using for more
67
  # information on available options.
56
68
57
  # Enable provisioning with Puppet stand alone.  Puppet manifests
69
  # Enable provisioning with Puppet stand alone.  Puppet manifests
58
  # are contained in a directory path relative to this Vagrantfile.
70
  # are contained in a directory path relative to this Vagrantfile.
59
  # You will need to create the manifests directory and a manifest in
71
  # You will need to create the manifests directory and a manifest in
60
  # the file ubuntu-1204-server-amd64.pp in the manifests_path directory.
72
  # the file ubuntu-1204-server-amd64.pp in the manifests_path directory.
...
...
110
  # end
122
  # end
111
  #
123
  #
112
  # If you're using the Opscode platform, your validator client is
124
  # If you're using the Opscode platform, your validator client is
113
  # ORGNAME-validator, replacing ORGNAME with your organization name.
125
  # ORGNAME-validator, replacing ORGNAME with your organization name.
114
  #
126
  #
115
  # IF you have your own Chef Server, the default validation client name is
127
  # If you have your own Chef Server, the default validation client name is
116
  # chef-validator, unless you changed the configuration.
128
  # chef-validator, unless you changed the configuration.
117
  #
129
  #
118
  #   chef.validation_client_name = "ORGNAME-validator"
130
  #   chef.validation_client_name = "ORGNAME-validator"
119
end
131
end