-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.kitchen.yml
52 lines (49 loc) · 1.09 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
45
46
47
48
49
50
51
52
---
<%
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') %>
dns: <%= ENV.fetch('DNS_RESOLVER', '8.8.8.8') %>
<% else %>
driver:
customize:
memory: 2048
name: vagrant
<% end %>
provisioner:
name: puppet_apply
modules_path: nevermind
resolve_with_librarian_puppet: true
require_chef_for_busser: true
<% if driver == 'docker' %>
platforms:
- name: docker-centos6
driver_plugin: docker
driver_config:
image: jlyheden/kitchen-puppet:centos6
platform: centos
<% else %>
platforms:
- name: centos6
driver_plugin: vagrant
driver_config:
box: puppetlabs/centos-6.6-64-nocm
- name: centos7
driver_plugin: vagrant
driver_config:
box: centos/7
- name: ubuntu1204
driver_plugin: vagrant
driver_config:
box: puppetlabs/ubuntu-12.04-64-nocm
- name: ubuntu1404
driver_plugin: vagrant
driver_config:
box: puppetlabs/ubuntu-14.04-64-nocm
<% end %>
suites:
- name: nexus2
- name: nexus3