Sha256: 507ffc5701983c6cfa7e221cec21036de9a1f9cc8dec63c064bf918fcdc03110

Contents?: true

Size: 939 Bytes

Versions: 6

Compression:

Stored size: 939 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 do
      username         'deployer'
      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

6 entries across 6 versions & 1 rubygems

Version Path
testlab-0.9.1 features/support/Labfile.local
testlab-0.9.0 features/support/Labfile.local
testlab-0.8.6 features/support/Labfile.local
testlab-0.8.5 features/support/Labfile.local
testlab-0.8.4 features/support/Labfile.local
testlab-0.8.3 features/support/Labfile.local