-
Notifications
You must be signed in to change notification settings - Fork 5
/
.kitchen.yml
91 lines (84 loc) · 1.75 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
---
driver_plugin: vagrant
driver_config:
customize:
cpus: 1
memory: 512
ssh:
insert_key: false
provisioner:
name: chef_zero
always_update_cookbooks: true
require_chef_omnibus: 12.16.42
log_level: debug
log_file: /var/log/chef-solo.log
platforms:
- name: centos-7.2
driver_config:
box: bento/centos-7.2
- name: centos-6.8
driver_config:
box: bento/centos-6.8
- name: ubuntu-12.04
driver_config:
box: bento/ubuntu-12.04
runlist: ['recipe[apt]']
- name: ubuntu-14.04
driver_config:
box: bento/ubuntu-14.04
suites:
- name: default
run_list:
- recipe[rightscale_tag]
- recipe[rightscale_tag::monitoring]
attributes:
apt:
compile_time_update: true
rightscale:
instance_uuid: 01-ABCDEFG123456
cloud:
provider: vagrant
public_ips:
- null
- ""
- 33.33.33.10
private_ips:
- null
- ""
- 10.0.2.15
# Load Balancer server tests
- name: load_balancer
run_list:
- recipe[rightscale_tag]
- recipe[fake::load_balancer]
attributes:
rightscale:
instance_uuid: 04-DBCDEFG123459
cloud:
provider: vagrant
public_ips: ['33.33.33.11']
private_ips: ['10.0.2.16']
# Application server tests
- name: application
run_list:
- recipe[rightscale_tag]
- recipe[fake::application]
attributes:
rightscale:
instance_uuid: 02-BBCDEFG123457
cloud:
provider: vagrant
public_ips: ['33.33.33.10']
private_ips: ['10.0.2.15']
# Database server tests
- name: database
run_list:
- recipe[rightscale_tag]
- recipe[fake::database]
attributes:
rightscale:
instance_uuid: 03-CBCDEFG123458
cloud:
provider: vagrant
public_ips: ['33.33.33.12']
private_ips: ['10.0.2.17']