-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
60 lines (56 loc) · 1.38 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
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: ubuntu/xenial64
- name: centos/7
- name: debian/jessie64
suites:
- name: default
run_list:
- recipe[cas_haproxy::default]
attributes:
cas_haproxy:
version: '1.8.1'
stats:
http:
enabled: true
auth: 'username:password'
socket:
enabled: true
sites:
- id: blog
frontend:
bind_port: 6061
arbitrary:
- '# arbitrary frontend config item'
target_urls:
- example.com
- blog.example.com
backend:
balance_strategy: leastconn
arbitrary:
- '# arbitrary backend config item'
servers:
- id: web1
address: web1.local
- id: web2
address: web2.local
- address: web3.local
- id: wiki
frontend:
target_urls:
- wiki.example.com
backend:
mode: tcp
stick_table:
type: ip
size: 20k
expire: 1h
stick_on: src
servers:
- web4.local
- web5.local
- web6.local:5000