forked from bdangit/chef-influxdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen-docker.yml
72 lines (68 loc) · 1.82 KB
/
.kitchen-docker.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
settings:
parallel: true
driver:
name: docker
provisioner:
name: chef_zero
platforms:
<% %w(12.7 12.6 12.5 12.4.3 12.3 12.2 12.1).each do |chef_version| %>
- name: ubuntu-14.04-chef<%= chef_version %>
driver_config:
image: ubuntu:14.04
platform: ubuntu
require_chef_omnibus: <%= chef_version %>
provision_command:
- apt-get install net-tools -y
- name: ubuntu-15.04-chef<%= chef_version %>
driver_config:
box: ubuntu:15.04
platform: ubuntu
run_command: /sbin/init
privileged: true
provision_command:
- apt-get install net-tools -y
provisioner:
require_chef_omnibus: <%= chef_version %>
- name: debian-8.2-chef<%= chef_version %>
driver_config:
box: debian:8.2
platform: debian
run_command: /sbin/init
privileged: true
provision_command:
- apt-get install wget -y
- apt-get install net-tools -y
provisioner:
require_chef_omnibus: <%= chef_version %>
- name: centos-6.7-chef<%= chef_version %>
driver_config:
box: centos:6.7
platform: centos
provision_command:
- yum install net-tools -y
- yum install iproute -y
provisioner:
require_chef_omnibus: <%= chef_version %>
- name: centos-7.1-chef<%= chef_version %>
driver_config:
box: centos:7.1
platform: centos
run_command: /usr/sbin/init
privileged: true
provision_command:
- yum install net-tools -y
- yum install iproute -y
provisioner:
require_chef_omnibus: <%= chef_version %>
<% end %>
suites:
- name: default
run_list:
- recipe[influxdb-test::default]
- recipe[netstat]
attributes:
- name: config_change
run_list:
- recipe[influxdb-test::default]
- recipe[influxdb-test::config_change]