-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kitchen.yml
44 lines (41 loc) · 1.05 KB
/
.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
43
44
---
<%
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') %>
dockerfile: .kitchen.dockerfile
<% else %>
driver:
name: vagrant
<% end %>
provisioner:
name: puppet_apply
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.5-64-puppet
driver_plugin: vagrant
driver_config:
box: puppetlabs/centos-6.5-64-puppet
- name: vbox-ubuntu-server-12042
driver_plugin: vagrant
driver_config:
box: ubuntu-server-12042-x64-vbox4210
box_url: http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box
<% end %>
suites:
<% Dir['test/integration/**/site.pp'].map { |site| site.split('/')[2] }.each do |s| %>
- name: <%= s %>
<% end %>