-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kitchen.yml
42 lines (39 loc) · 983 Bytes
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
<%
driver = ENV.fetch('KITCHEN_DRIVER', 'vagrant')
if driver == 'docker' %>
driver:
name: docker
use_sudo: false
socket: <%= ENV.fetch('DOCKER_HOST', 'unix:///var/run/docker.sock') %>
<% else %>
driver:
name: vagrant
<% end %>
provisioner:
name: puppet_apply
puppet_version: <%= ENV.fetch('PUPPET_VERSION', '3.7.3') %>
modules_path: nevermind
resolve_with_librarian_puppet: true
require_chef_for_busser: true
<% if driver == 'docker' %>
platforms:
- name: centos6
driver_config:
image: jlyheden/kitchen-puppet:centos6-test
platform: centos
<% else %>
platforms:
- name: centos-6.6-64-puppet
driver_plugin: vagrant
driver_config:
box: puppetlabs/centos-6.6-64-puppet
- name: ubuntu-14.04-64-puppet
driver_plugin: vagrant
driver_config:
box: puppetlabs/ubuntu-14.04-64-puppet
<% end %>
suites:
<% Dir['test/integration/**/site.pp'].map { |site| site.split('/')[2] }.each do |s| %>
- name: <%= s %>
<% end %>