#<% require 'kitchen-sync' %>
---
driver_config:
   digitalocean_access_token: <%= ENV['DIGITALOCEAN_API_TOKEN'] %>

provisioner:
  name: chef_zero

verifier:
  name: inspec

platforms:
- name: centos-7.0
  driver_plugin: digitalocean
  driver_config:
    size: 2gb
    image: centos-7-0-x64
    region: <%= ENV['DIGITALOCEAN_REGION'] %>
    ssh_key_ids: <%= ENV['DIGITALOCEAN_SSH_KEYS'] %>
  transport:
    ssh_key: <%= ENV['DIGITALOCEAN_SSH_KEY_PATH'] %>
  run_list:
  - recipe[yum-docker]

suites:
  # - name: default
  #   run_list:
  #     - recipe[kubernetes::default]
  #     - recipe[kubernetes::master]
  #     - recipe[kubernetes::node]
  #   attributes:
  # - name: docker
  #   run_list:
  #     - recipe[kubernetes::docker_install]
  #   attributes:
  - name: decker-master
    run_list:
      - recipe[kubernetes::master]
    attributes:
      kubernetes:
        client_version: '0.3.0'
  - name: decker-worker
    run_list:
      - recipe[kubernetes::node]
    attributes:
      kubernetes:
        client_version: '0.3.0'
  - name: decker-worker-2
    run_list:
      - recipe[kubernetes::node]
    attributes:
      kubernetes:
        client_version: '0.3.0'
#  - name: node-1
#    run_list:
#      - recipe[kubernetes::default]
#      - recipe[kubernetes::node]
#    attributes:

driver:
  name: vagrant

provisioner:
  name: chef_zero

verifier:
  name: inspec

platforms:
  - name: centos-7.3
  - name: debian-8.8
  - name: debian-9.0
  - name: ubuntu-16.04

suites:
  - name: docker-master
    run_list:
      - recipe[kubernetes::master]
  - name: decker-worker
    run_list:
      - recipe[kubernetes::node]

Move back to vagrant for the Kitchen config
Move back to vagrant for the Kitchen config

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
