Skip to content

Commit c325873

Browse files
committed
Add Vagrantfile for running OpenLDAP tests
1 parent 91adedd commit c325873

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

test/support/vm/openldap/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.vagrant

test/support/vm/openldap/Vagrantfile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# -*- mode: ruby -*-
2+
# vi: set ft=ruby :
3+
4+
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5+
VAGRANTFILE_API_VERSION = "2"
6+
7+
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8+
config.vm.hostname = "openldap.github.org"
9+
10+
config.vm.box = "hashicorp/precise64"
11+
12+
config.vm.network "private_network", type: :dhcp
13+
14+
config.ssh.forward_agent = true
15+
16+
config.vm.provision "shell", inline: "apt-get update; exec env /vagrant_data/script/install-openldap"
17+
18+
config.vm.synced_folder "../../../..", "/vagrant_data"
19+
20+
config.vm.provider "vmware_fusion" do |vb, override|
21+
override.vm.box = "hashicorp/precise64"
22+
vb.memory = 4596
23+
vb.vmx["displayname"] = "integration tests vm"
24+
vb.vmx["numvcpus"] = "2"
25+
end
26+
27+
config.vm.provider "virtualbox" do |vb, override|
28+
vb.memory = 4096
29+
vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
30+
vb.customize ["modifyvm", :id, "--chipset", "ich9"]
31+
vb.customize ["modifyvm", :id, "--vram", "16"]
32+
end
33+
end

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy