---
driver:
  name: vagrant

provisioner:
  name: chef_zero
  require_chef_omnibus: true

platforms:
- name: ubuntu-16.04
- name: debian-8
- name: centos-6.9

suites:
- name: default
  run_list:
    - recipe[golang_test::default]
    - recipe[minitest-handler]
  attributes:
    golang:
      owner: 'vagrant'
      group: 'vagrant'
- name: src
  run_list:
    - recipe[golang_test::default]
    - recipe[minitest-handler]
  attributes:
    golang:
      from_source: true
      arch: 'amd64'
      owner: 'vagrant'
      group: 'vagrant'

---
driver:
  name: dokken
  chef_version: latest
  privileged: true  # because Docker and systemd/Upstart

transport:
  name: dokken

provisioner:
  name: dokken

platforms:
- name: ubuntu-16.04
  driver:
    image: dokken/ubuntu-16.04
    pid_one_command: /bin/systemd

- name: debian-8
  driver:
    image: dokken/debian-8
    pid_one_command: /bin/systemd

- name: centos-6
  driver:
    image: dokken/centos-6
    pid_one_command: /sbin/init

suites:
- name: default
  run_list:
    - recipe[golang_test::default]
    - recipe[minitest-handler]
- name: src
  run_list:
    - recipe[golang_test::default]
    - recipe[minitest-handler]
  attributes:
    golang:
      from_source: true
      arch: 'amd64'

Switch to using dokken for acceptance tests
chore: Switch to using dokken for acceptance tests

Lighter weight than Vagrant by far, allows tests to be run in Travis CI
or GitHub Actions
