This repository has been archived by the owner on Apr 16, 2018. It is now read-only.
forked from portertech/chef-monitor
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.kitchen.yml
145 lines (141 loc) · 3.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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
---
driver:
name: vagrant
cachier: true
provisioner:
name: chef_zero
require_chef_omnibus: 12
verifier:
name: inspec
<% if ENV['CI'] == "jenkins" %>
format: junit
output: "kitchen-reports/kitchen_report_%{suite}_%{platform}_inspec.xml"
<% else %>
format: cli
<% end %>
platforms:
- name: ubuntu-14.04
driver:
box: asy/trusty64-lxc
provider: lxc
run_list:
- recipe[apt]
- name: ubuntu-16.04
driver:
box: asy/xenial64-lxc
provider: lxc
run_list:
- recipe[apt]
# - name: centos-6.x
# driver:
# box: asy/centos-6-64-lxc
# provider: lxc
# run_list:
# - recipe[yum]
- name: centos-7.x
driver:
box: asy/centos-7-64-lxc
provider: lxc
run_list:
- recipe[yum]
- recipe[monitor::_kitchen_centos7]
- name: windows-2012r2
driver:
box: mwrock/Windows2012R2
communicator: winrm
customize:
usb: "off" # USB is disabled on this box to make it more lightweight
vrde: "on" # enable RDP
suites:
- name: default
run_list:
- recipe[monitor::master]
attributes:
apt:
compile_time_update: true
authorization:
sudo:
users: ["vagrant", "kitchen"]
passwordless: true
include_sudoers_d: true
monitor:
use_nagios_plugins: false
use_system_profile: true
use_statsd_input: true
# rabbitmq:
# use_distro_version: true
excludes:
- windows-2012r2
- name: server-redis
run_list:
- recipe[monitor::master]
attributes:
apt:
compile_time_update: true
authorization:
sudo:
users: ["vagrant", "kitchen"]
passwordless: true
include_sudoers_d: true
monitor:
use_nagios_plugins: false
use_system_profile: true
use_statsd_input: true
transport: redis
redis_db: 1
# rabbitmq:
# use_distro_version: true
excludes:
- windows-2012r2
- name: client
run_list:
- recipe[monitor::client]
attributes:
apt:
compile_time_update: true
authorization:
sudo:
users: ["vagrant", "kitchen"]
passwordless: true
include_sudoers_d: true
monitor:
use_nagios_plugins: false
use_system_profile: true
use_statsd_input: true
excludes:
- windows-2012r2
- name: windows-client
run_list:
- recipe[monitor::client]
attributes:
apt:
compile_time_update: true
authorization:
sudo:
users: ["vagrant", "kitchen"]
passwordless: true
include_sudoers_d: true
monitor:
use_nagios_plugins: false
use_system_profile: true
use_statsd_input: true
includes:
- windows-2012r2
- name: client-redis
run_list:
- recipe[monitor::client]
attributes:
apt:
compile_time_update: true
authorization:
sudo:
users: ["vagrant", "kitchen"]
passwordless: true
include_sudoers_d: true
monitor:
use_nagios_plugins: false
use_system_profile: true
use_statsd_input: true
transport: redis
excludes:
- windows-2012r2