Sha256: 6c4078705a4ebfc1d71cc2755bc9d83c1bb8c763e89fd0e0ab728b9e3388da45
Contents?: true
Size: 1.42 KB
Versions: 3
Compression:
Stored size: 1.42 KB
Contents
#!/usr/bin/env ruby #^syntax detection node 'vagrant' do provider TestLab::Provider::Vagrant provisioners [ TestLab::Provisioner::Raring, TestLab::Provisioner::Bind ] config ({ :vagrant => { :id => "test-cucumber-#{TestLab.hostname}".downcase, :cpus => ZTK::Parallel::MAX_FORKS.div(2), # use half of the available processors :memory => ZTK::Parallel::MAX_MEMORY.div(3).div(1024 * 1024), # use a third of available RAM :box => 'raring64', :box_url => 'https://dl.dropboxusercontent.com/u/22904185/boxes/raring64.box', :file => File.dirname(__FILE__) }, :bind => { :domain => "default.zone" } }) network 'labnet' do address '10.128.0.1/16' bridge :br0 end container "test-server" do distro "ubuntu" release "precise" provisioners [ TestLab::Provisioner::Resolv, TestLab::Provisioner::AptCacherNG, TestLab::Provisioner::Apt ] user 'deployer' do password 'deployer' identity File.join(ENV['HOME'], '.ssh', 'id_rsa') public_identity File.join(ENV['HOME'], '.ssh', 'id_rsa.pub') uid 2600 gid 2600 end interface do network_id 'labnet' name :eth0 address '10.128.0.254/16' mac '00:00:5e:63:b5:9f' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
testlab-0.8.2 | features/support/Labfile.vagrant |
testlab-0.8.1 | features/support/Labfile.vagrant |
testlab-0.8.0 | features/support/Labfile.vagrant |