-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.kitchen.yml
72 lines (71 loc) · 1.57 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
---
driver:
name: <%= ENV['KITCHEN_DRIVER'] || 'vagrant' %> # switch between docker and vagrant
cap_add:
- SYS_PTRACE
provisioner:
name: chef_solo
platforms:
- name: ubuntu-14.04
driver_config:
provision_command:
- apt-get update -y
- name: ubuntu-12.04
driver_config:
provision_command:
- apt-get update -y
- name: debian-7.4
driver_config:
provision_command:
- apt-get install -y sudo netcat
- name: debian-7.8
driver_config:
provision_command:
- apt-get install -y sudo netcat
- name: centos-6.5
driver_config:
provision_command:
- yum install -y tar curl
suites:
- name: default
run_list:
- "recipe[apache2]"
- "recipe[mongodb]"
- "recipe[tomcat]"
- "recipe[java]"
excludes:
- centos-7
attributes:
yum:
epel-testing:
enabled: true
java:
install_flavor: oracle
jdk_version: "7"
oracle:
accept_oracle_download_terms: true
tomcat:
base_version: 7
deploy_manager_apps: false
- name: java-8
run_list:
- "recipe[apache2]"
- "recipe[mongodb]"
- "recipe[tomcat]"
- "recipe[java]"
excludes:
- centos-7
attributes:
yum:
epel-testing:
enabled: true
java:
install_flavor: oracle
jdk_version: "8"
set_etc_environment: true
jdk:
oracle:
accept_oracle_download_terms: true
tomcat:
base_version: 7
deploy_manager_apps: false