forked from arunjax/cookbooks-1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kitchen.yml
139 lines (121 loc) · 2.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
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
---
driver:
name: vagrant
customize:
memory: 512
provisioner:
name: chef_solo
# require_chef_omnibus: latest # will install on each run
require_chef_omnibus: 11.8.2
platforms:
- name: ubuntu-12.04
run_list:
- "recipe[apt]"
- name: ubuntu-10.04
run_list:
- "recipe[apt]"
- name: debian-7.2.0
run_list:
- "recipe[apt]"
- name: centos-6.5
run_list:
- "recipe[yum]"
- "recipe[yum-epel]"
- name: centos-5.10
run_list:
- "recipe[yum]"
- "recipe[yum-epel]"
# not going to try until
# https://jira.mongodb.org/browse/SERVER-7285 is closed
#- name: fedora-19
#run_list:
#- "recipe[yum]"
#- name: fedora-20
#run_list:
#- "recipe[yum]"
# maybe again oneday
#- name: freebsd-9.2
#run_list:
#- "recipe[yum]"
suites:
- name: default
run_list:
- "recipe[mongodb]"
- name: default_mongodb_org_repo
run_list:
- "recipe[mongodb]"
attributes:
mongodb:
install_method: mongodb-org
- name: replicaset
run_list:
- "recipe[chef-solo-search]"
- "recipe[mongodb::replicaset]"
attributes:
mongodb:
cluster_name: kitchen
config:
replSet: kitchen
excludes:
# Upstart is not starting mongodb, status script returns 0 and there are no useful logs. wat?
- ubuntu-10.04
- name: configserver
run_list:
- "recipe[mongodb::configserver]"
- name: mongos
run_list:
- "recipe[chef-solo-search]"
- "recipe[mongodb::mongos]"
attributes:
mongodb:
cluster_name: default
config:
configdb: my_configserver
- name: mms_monitoring_agent
run_list:
- "recipe[mongodb::mms_monitoring_agent]"
attributes:
mongodb:
mms_agent:
api_key: "random key"
monitoring:
sslRequireValidServerCertificates: false
excludes:
# Upstart script uses setuid which is not present in this version
- ubuntu-10.04
# Upstart is not present
- debian-7.2.0
# Package does not create the user
- centos-5.10
- name: mms_backup_agent
run_list:
- "recipe[mongodb::mms_backup_agent]"
attributes:
mongodb:
mms_agent:
api_key: "random key"
backup:
sslRequireValidServerCertificates: false
excludes:
# Upstart script uses setuid which is not present in this version
- ubuntu-10.04
# Upstart is not present
- debian-7.2.0
# Package does not create the user
- centos-5.10
- name: user_management
run_list:
- "recipe[mongodb::default]"
- "recipe[mongodb::user_management]"
attributes:
mongodb:
install_method: mongodb-org
# Needed to read the correct config file
# since mongo 2.6
default_init_name: mongod
dbconfig_file: mongodb.conf
config:
auth: true
excludes:
# Can't connect to mongodb without it running from upstart
- ubuntu-10.04