Sha256: 184358cf00c575d2417b37f53a49a9473dc829467f066fe3e982e242def9390c

Contents?: true

Size: 916 Bytes

Versions: 3

Compression:

Stored size: 916 Bytes

Contents

#!/usr/bin/env ruby
#^syntax detection

node 'vagrant' do

  provider      TestLab::Provider::Local

  provisioners  [TestLab::Provisioner::Raring]

  config      ({
    :bind => {
      :domain => "default.zone"
    }
  })

  network 'labnet' do
    address       '10.128.0.1/16'
    bridge        :br_test
  end

  container "test-server" do
    distro        "ubuntu"
    release       "precise"

    provisioners   [
      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.local
testlab-0.8.1 features/support/Labfile.local
testlab-0.8.0 features/support/Labfile.local