forked from runningman84/chef-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
112 lines (108 loc) · 2.32 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
---
driver:
name: vagrant
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]
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
- 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
- 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
- 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