-
-
Notifications
You must be signed in to change notification settings - Fork 299
/
kitchen.yml
83 lines (77 loc) · 1.98 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
---
driver:
name: vagrant
provisioner:
name: chef_infra
product_name: chef
product_version: <%= ENV['CHEF_VERSION'] || 'latest' %>
chef_license: accept-no-persist
multiple_converge: 2
enforce_idempotency: true
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: almalinux-8
- name: debian-10
- name: debian-11
- name: freebsd-10
- name: freebsd-11
- name: rockylinux-8
- name: ubuntu-18.04
- name: ubuntu-20.04
- name: ubuntu-22.04
suites:
- name: default
run_list:
- recipe[redisio::default]
- recipe[redisio::enable]
attributes:
redisio:
version: "<%= ENV['REDIS_VERSION'] || '6.2.3' %>"
servers:
- port: 6379
- port: 16379
permissions: '0640'
name: 'savetest'
save: "3600 1\n300 100\n60 10000"
logfile: '/var/log/redis/redis-16379.log'
- name: sentinel
run_list:
- recipe[redisio::default]
- recipe[redisio::enable]
- recipe[redisio::sentinel]
- recipe[redisio::sentinel_enable]
attributes:
redisio:
version: "<%= ENV['REDIS_VERSION'] || '6.2.3' %>"
servers:
- port: 6379
- name: multisentinel
run_list:
- recipe[redisio::default]
- recipe[redisio::enable]
- recipe[redisio::sentinel]
- recipe[redisio::sentinel_enable]
attributes:
redisio:
version: "<%= ENV['REDIS_VERSION'] || '6.2.3' %>"
servers:
- port: 6379
- port: 6380
sentinels:
-
name: 'cluster'
sentinel_bind: 0.0.0.0
sentinel_port: 26379
masters:
-
name: 'sentinel6379'
master_name: 'master6379'
master_ip: '127.0.0.1'
master_port: 6379
-
name: 'sentinel6380'
master_name: 'master6380'
master_ip: '127.0.0.1'
master_port: 6380