forked from sous-chefs/percona
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
48 lines (44 loc) · 1.05 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
#<% require "kitchen-sync" %>
---
driver:
name: docker
require_chef_omnibus: <%= ENV.fetch("CHEF_VERSION", "true") %>
provisioner:
name: chef_zero
platforms:
- name: amazon-2015
driver_config:
image: ambakshi/amazon-linux
platform: rhel
- name: centos-6.6
- name: centos-7.1
- name: debian-7.8
- name: debian-8.0
- name: ubuntu-12.04
- name: ubuntu-14.04
suites:
<% %w[5.5 5.6].each do |version| %>
- name: client_<%= version.tr(".", "") %>
attributes:
percona:
apt:
keyserver: hkp://pgp.mit.edu:80
version: "<%= version %>"
run_list:
- recipe[percona::client]
- recipe[percona::toolkit]
- name: server_<%= version.tr(".", "") %>
attributes:
percona:
apt:
keyserver: hkp://pgp.mit.edu:80
version: "<%= version %>"
server:
datadir: /tmp/mysql
debian_password: d3b1an
jemalloc: true
root_password: r00t
run_list:
- recipe[percona::server]
- recipe[percona::backup]
<% end %>