Sha256: 203b146cae421b4197a34a7b089595c80eeafe01a739cf7d29a473ed906363b2

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

# -*- 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|
  config.vm.hostname = "rubyldap.com"

  config.vm.box = "hashicorp/precise64"

  config.vm.network "private_network", type: :dhcp
  config.vm.network "forwarded_port", guest: 389, host: 9389

  config.ssh.forward_agent = true

  config.vm.provision "shell", inline: "apt-get update; exec env /vagrant_data/script/install-openldap"

  config.vm.synced_folder "../../../..", "/vagrant_data"

  config.vm.provider "vmware_fusion" do |vb, override|
    override.vm.box = "hashicorp/precise64"
    vb.memory = 4596
    vb.vmx["displayname"] = "integration tests vm"
    vb.vmx["numvcpus"] = "2"
  end

  config.vm.provider "virtualbox" do |vb, override|
    vb.memory = 4096
    vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
    vb.customize ["modifyvm", :id, "--chipset", "ich9"]
    vb.customize ["modifyvm", :id, "--vram", "16"]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
net-ldap-0.16.1 test/support/vm/openldap/Vagrantfile
net-ldap-0.16.0 test/support/vm/openldap/Vagrantfile