mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
37 lines
1.1 KiB
Ruby
37 lines
1.1 KiB
Ruby
# -*- 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.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
vms = [
|
|
{
|
|
:id => "debian-wheezy-i386",
|
|
:box_url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.8-i386_chef-provisionerless.box",
|
|
},
|
|
{
|
|
:id => "debian-wheezy-amd64",
|
|
:box_url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.8_chef-provisionerless.box",
|
|
},
|
|
{
|
|
:id => "debian-jessie-i386",
|
|
:box_url => "http://packages.groonga.org/tmp/opscode_debian-8.0-i386_chef-provisionerless.box",
|
|
},
|
|
{
|
|
:id => "debian-jessie-amd64",
|
|
:box_url => "http://packages.groonga.org/tmp/opscode_debian-8.0_chef-provisionerless.box",
|
|
},
|
|
]
|
|
|
|
vms.each do |vm|
|
|
config.vm.define(vm[:id]) do |node|
|
|
node.vm.box = vm[:id]
|
|
node.vm.box_url = vm[:box_url]
|
|
node.vm.provision(:shell, :path => "build-deb.sh")
|
|
node.vm.provider("virtualbox") do |virtual_box|
|
|
virtual_box.memory = 768
|
|
end
|
|
end
|
|
end
|
|
end
|