Sha256: bdf846c07cf1770e36ce2f08ab9869ece049d9766ee7873e9c4654043138ceb1

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

# Vagrant

## Prerequisites

Please install the following:

- [VirtualBox](https://www.virtualbox.org/)
- [Vagrant](https://developer.hashicorp.com/vagrant/downloads)

### General

1. Install `vagrant` as per <https://developer.hashicorp.com/vagrant/downloads>
2. Configure a provider
3. Run `vagrant up` and then `vagrant ssh`

### MacOS

```bash
brew cask install virtualbox
brew cask install vagrant
```

### ARM hosts (Apple M1, and so on)

You'll need to use QEMU instead of VirtualBox to use Vagrant on ARM. The following instructions will assume an M1 Mac as the host:

1. Install QEMU: `brew install qemu`
2. Install the QEMU vagrant provider: `vagrant plugin install vagrant-qemu`
3. Provision the VM with the provider: `vagrant up --provider=qemu`

## Setting up

You can set up the Vagrant environment with just one command:

```bash
vagrant up
```

After successfull installation you can ssh to the virtual machine with:

```bash
vagrant ssh
```

NOTICE: The directory with fluentd-output-sumologic repository on the host is synced with `/sumologic/` directory on the virtual machine.

## Runing tests

You can run tests using following commands:

```bash
cd /sumologic
bundle install
bundle exec rake
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-sumologic_output-1.10.0 vagrant/README.md