This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.kitchen.vagrant.yml
291 lines (267 loc) · 7.63 KB
/
.kitchen.vagrant.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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
---
provisioner:
name: chef_zero
require_chef_omnibus: 12.19.36
driver:
name: vagrant
customize:
cpus: 2
memory: 3096
cpuexecutioncap: 50
platforms:
# Opscode vagrant box names taken from http://www.vagrantbox.es/
- name: centos-6.5
run_list:
- recipe[java]
attributes:
dynatrace:
apache_wsagent:
apache:
config_file_path: /etc/httpd/conf/httpd.conf
init_script_path: /etc/init.d/httpd
- name: debian-7.4
run_list:
- recipe[apt]
- recipe[java]
- name: ubuntu-12.04
run_list:
- recipe[apt]
- recipe[java]
- name: windows-2012r2
driver:
box: mwrock/Windows2012R2
suites:
- name: apache_wsagent
run_list:
- recipe[apache2]
- recipe[dynatrace::apache_wsagent]
attributes:
dynatrace:
apache_wsagent:
linux:
# WORKAROUND: see description of apache_daemon attribute in dynatrace cookbook.
apache_daemon: ''
# wsagent_package:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-wsagent-linux-x86-64.tar
excludes:
- windows-2012r2
- name: apache_wsagent_uninstall
run_list:
- recipe[apache2]
- recipe[dynatrace::apache_wsagent]
- recipe[dynatrace::apache_wsagent_uninstall]
attributes:
dynatrace:
apache_wsagent:
linux:
# WORKAROUND: see description of apache_daemon attribute in dynatrace cookbook.
apache_daemon: ''
# wsagent_package:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-wsagent-linux-x86-64.tar
excludes:
- windows-2012r2
- name: agents_package
run_list:
- recipe[dynatrace::agents_package]
# attributes:
# dynatrace:
# agents_package:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-agent-unix.jar
# windows:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-agent-x86.msi
- name: agents_package_uninstall
run_list:
- recipe[dynatrace::agents_package]
- recipe[dynatrace::agents_package_uninstall]
# attributes:
# dynatrace:
# agents_package:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-agent-unix.jar
excludes:
- windows-2012r2
- name: one_agent
run_list:
- recipe[dynatrace::one_agent]
# attributes:
# dynatrace:
# one_agent:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-one-agent-linux-x86.tgz
# windows:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-one-agent-x86.msi
- name: collector
run_list:
- recipe[dynatrace::collector]
attributes:
dynatrace:
collector:
jvm:
xms: 256M
xmx: 1024M
perm_size: 256m
max_perm_size: 384m
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-collector.jar
excludes:
- windows-2012r2
- name: collector_uninstall
run_list:
- recipe[dynatrace::collector]
- recipe[dynatrace::collector_uninstall]
attributes:
dynatrace:
collector:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-collector-linux-x86.jar
excludes:
- windows-2012r2
- name: dotnet_agent
run_list:
- recipe[dynatrace::dotnet_agent]
attributes:
dynatrace:
# agents_package:
# windows:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-agent-x86.msi
dotnet_agent:
process_list: [w3wp.exe -ap myApp]
includes:
- windows-2012r2
- name: dynatrace_user
run_list:
- recipe[dynatrace::dynatrace_user]
- name: dynatrace_user_uninstall
run_list:
- recipe[dynatrace::dynatrace_user]
- recipe[dynatrace::dynatrace_user_uninstall]
- name: host_agent
run_list:
- recipe[dynatrace::host_agent]
attributes:
dynatrace:
host_agent:
host_agent_name:
myhostagent
collector:
myhostaddr
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-hostagent-linux-x86-64.tar
- name: host_agent_uninstall
run_list:
- recipe[dynatrace::host_agent]
- recipe[dynatrace::host_agent_uninstall]
# attributes:
# dynatrace:
# host_agent:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-hostagent-linux-x86-64.tar
- name: iis_wsagent
run_list:
- recipe[dynatrace::iis_wsagent]
# attributes:
# dynatrace:
# wsagent_package:
# windows:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-agent-x86.msi
includes:
- windows-2012r2
- name: java_agent
run_list:
- recipe[dynatrace::java_agent]
attributes:
dynatrace:
java_agent:
env_var:
file_name: /tmp/environment
# agents_package:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-agent-unix.jar
excludes:
- windows-2012r2
- name: server
run_list:
- recipe[dynatrace::server]
attributes:
dynatrace:
server:
pwh_connection:
# Allow error 500 (connection failed) to pass our test
success_codes: ['200', '500']
sizing: small
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-server-linux-x86-64.jar
excludes:
- windows-2012r2
- name: server_uninstall
run_list:
- recipe[dynatrace::server]
- recipe[dynatrace::server_uninstall]
# attributes:
# dynatrace:
# server:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-server-linux-x86.jar
excludes:
- windows-2012r2
- name: server_update
run_list:
- recipe[dynatrace::server]
- recipe[dynatrace::server_update]
attributes:
dynatrace:
server:
collector_port: 6698 # on version 6.3 (default is 6699 on version 6.5)
linux:
# TODO: currently no update available on version 6.5 thus testing version 6.3
installer:
file_url: http://downloads.dynatracesaas.com/6.3/dynatrace-server-linux-x86.jar
update:
file_url: https://files.dynatrace.com/downloads/fixpacks/dynaTrace-6.3.10.1010.zip
# update:
# update_file_url: http://192.168.1.2:8000/dynaTrace-6.3.10.1010.zip
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-server-linux-x86-64.jar
excludes:
- windows-2012r2
- name: wsagent_package
run_list:
- recipe[dynatrace::wsagent_package]
# attributes:
# dynatrace:
# wsagent_package:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-wsagent-linux-x86-64.tar
# windows:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-agent-x86.msi
- name: wsagent_package_uninstall
run_list:
- recipe[dynatrace::wsagent_package]
- recipe[dynatrace::wsagent_package_uninstall]
# attributes:
# dynatrace:
# wsagent_package:
# linux:
# installer:
# file_url: http://192.168.1.2:8000/dynatrace-wsagent-linux-x86-64.tar
excludes:
- windows-2012r2