Sha256: a8da55a845007bf7dc4589b0fb6806f610047869ec578622b8cd4bcf6c047363

Contents?: true

Size: 1.21 KB

Versions: 18

Compression:

Stored size: 1.21 KB

Contents

When using the Vagrant Hypervisor, beaker can mount specific local directories as synced_folders inside the vagrant box.
This is done by using the 'mount_folders' option in the nodeset file.

Example hosts file:

    HOSTS:
      ubuntu-1404-x64-master:
        roles:
          - master
          - agent
          - dashboard
          - database
        platform: ubuntu-1404-x86_64
        hypervisor: vagrant
        box: puppetlabs/ubuntu-14.04-64-nocm
        box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
        mount_folders:
          folder1:
            from: ./
            to: /vagrant/folder1
          tmp:
            from: /tmp
            to: /vagrant/tmp
        ip: 192.168.20.20
      ubuntu-1404-x64-agent:
        roles:
          - agent
        platform: ubuntu-1404-x86_64
        hypervisor: vagrant
        box: puppetlabs/ubuntu-14.04-64-nocm
        box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
        ip: 192.168.21.21
    CONFIG:
      nfs_server: none
      consoleport: 443

In the above beaker will mount the folders ./ to /vagrant/folder1 and the folder /tmp to /vagrant/tmp

## Supported Virtualization Providers ##
* [Vagrant](Vagrant-Support.md)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
beaker-2.42.0 docs/hypervisors/vagrant.md
beaker-2.41.0 docs/hypervisors/vagrant.md
beaker-2.40.0 docs/hypervisors/vagrant.md
beaker-2.39.0 docs/hypervisors/vagrant.md
beaker-2.38.1 docs/hypervisors/vagrant.md
beaker-2.38.0 docs/hypervisors/vagrant.md
beaker-2.37.0 docs/hypervisors/vagrant.md
beaker-2.36.0 docs/hypervisors/vagrant.md
beaker-2.35.0 docs/hypervisors/vagrant.md
beaker-2.34.0 docs/hypervisors/vagrant.md
beaker-2.33.0 docs/hypervisors/vagrant.md
beaker-2.32.1 docs/hypervisors/vagrant.md
beaker-2.32.0 docs/hypervisors/vagrant.md
beaker-2.31.0 docs/hypervisors/vagrant.md
beaker-2.30.1 docs/hypervisors/vagrant.md
beaker-2.30.0 docs/hypervisors/vagrant.md
beaker-2.29.1 docs/hypervisors/vagrant.md
beaker-2.29.0 docs/hypervisors/vagrant.md