forked from sous-chefs/haproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
59 lines (57 loc) · 1.37 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
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: centos-6.3
driver_config:
box: opscode-centos-6.3
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
run_list:
- recipe[apt]
provisioner:
attributes:
haproxy:
test:
netcat_package: netcat
- name: ubuntu-10.04
driver_config:
box: opscode-ubuntu-10.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box
run_list:
- recipe[apt]
provisioner:
attributes:
haproxy:
test:
netcat_package: netcat
suites:
- name: default
run_list:
- recipe[haproxy::manual]
attributes: {}
- name: lwrp
run_list:
- recipe[haproxy]
- recipe[haproxy-test]
attributes:
haproxy:
enable_default_http: false
global_options: ['quiet']
listeners:
listen:
lb_test:
- balance roundrobin
- bind 0.0.0.0:5000
- maxconn 10
- mode tcp
- server netcat1 127.0.0.1:5001
- server netcat2 127.0.0.1:5002
- name: app_lb
run_list:
- recipe[haproxy::app_lb]
attributes: