readme to change listens to listen and bind to binds
diff --git a/README.rst b/README.rst
index da53030..c0d1b46 100644
--- a/README.rst
+++ b/README.rst
@@ -54,19 +54,19 @@
connect: 5000
client: 50000
server: 50000
- listens:
- - name: https-in
- bind:
- address: 0.0.0.0
- port: 443
- servers:
- - name: server1
- host: 10.0.0.1
- port: 8443
- - name: server2
- host: 10.0.0.2
- port: 8443
- params: 'maxconn 256'
+ listen:
+ https-in:
+ binds:
+ - address: 0.0.0.0
+ port: 443
+ servers:
+ - name: server1
+ host: 10.0.0.1
+ port: 8443
+ - name: server2
+ host: 10.0.0.2
+ port: 8443
+ params: 'maxconn 256'
Sample pillar with custom logging
@@ -83,19 +83,19 @@
connect: 5000
client: 50000
server: 50000
- listens:
- - name: https-in
- bind:
- address: 0.0.0.0
- port: 443
- servers:
- - name: server1
- host: 10.0.0.1
- port: 8443
- - name: server2
- host: 10.0.0.2
- port: 8443
- params: 'maxconn 256'
+ listen:
+ https-in:
+ binds:
+ address: 0.0.0.0
+ port: 443
+ servers:
+ - name: server1
+ host: 10.0.0.1
+ port: 8443
+ - name: server2
+ host: 10.0.0.2
+ port: 8443
+ params: 'maxconn 256'
.. code-block:: yaml
@@ -105,53 +105,53 @@
mode: tcp
logging: syslog
max_connections: 1024
- listens:
- - name: mysql
- type: mysql
- binds:
- - address: 10.0.88.70
- port: 3306
- servers:
- - name: node1
- host: 10.0.88.13
- port: 3306
- params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3
- - name: node2
- host: 10.0.88.14
- port: 3306
- params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
- - name: node3
- host: 10.0.88.15
- port: 3306
- params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
- - name: rabbitmq
- type: rabbitmq
- binds:
- - address: 10.0.88.70
- port: 5672
- servers:
- - name: node1
- host: 10.0.88.13
- port: 5673
- params: check inter 5000 rise 2 fall 3
- - name: node2
- host: 10.0.88.14
- port: 5673
- params: check inter 5000 rise 2 fall 3 backup
- - name: node3
- host: 10.0.88.15
- port: 5673
- params: check inter 5000 rise 2 fall 3 backup
- -name: keystone-1
- type: general-service
- bins:
- - address: 10.0.106.170
- port: 5000
- servers:
- -name: node1
- host: 10.0.88.13
- port: 5000
- params: check
+ listen:
+ mysql:
+ type: mysql
+ binds:
+ - address: 10.0.88.70
+ port: 3306
+ servers:
+ - name: node1
+ host: 10.0.88.13
+ port: 3306
+ params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3
+ - name: node2
+ host: 10.0.88.14
+ port: 3306
+ params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
+ - name: node3
+ host: 10.0.88.15
+ port: 3306
+ params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
+ rabbitmq:
+ type: rabbitmq
+ binds:
+ - address: 10.0.88.70
+ port: 5672
+ servers:
+ - name: node1
+ host: 10.0.88.13
+ port: 5673
+ params: check inter 5000 rise 2 fall 3
+ - name: node2
+ host: 10.0.88.14
+ port: 5673
+ params: check inter 5000 rise 2 fall 3 backup
+ - name: node3
+ host: 10.0.88.15
+ port: 5673
+ params: check inter 5000 rise 2 fall 3 backup
+ keystone-1:
+ type: general-service
+ binds:
+ - address: 10.0.106.170
+ port: 5000
+ servers:
+ - name: node1
+ host: 10.0.88.13
+ port: 5000
+ params: check
.. code-block:: yaml
@@ -161,53 +161,53 @@
mode: tcp
logging: syslog
max_connections: 1024
- listens:
- - name: mysql
- type: mysql
- binds:
- - address: 10.0.88.70
- port: 3306
- servers:
- - name: node1
- host: 10.0.88.13
- port: 3306
- params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3
- - name: node2
- host: 10.0.88.14
- port: 3306
- params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
- - name: node3
- host: 10.0.88.15
- port: 3306
- params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
- - name: rabbitmq
- type: rabbitmq
- binds:
- - address: 10.0.88.70
- port: 5672
- servers:
- - name: node1
- host: 10.0.88.13
- port: 5673
- params: check inter 5000 rise 2 fall 3
- - name: node2
- host: 10.0.88.14
- port: 5673
- params: check inter 5000 rise 2 fall 3 backup
- - name: node3
- host: 10.0.88.15
- port: 5673
- params: check inter 5000 rise 2 fall 3 backup
- -name: keystone-1
- type: general-service
- bins:
- - address: 10.0.106.170
- port: 5000
- servers:
- -name: node1
- host: 10.0.88.13
- port: 5000
- params: check
+ listen:
+ mysql:
+ type: mysql
+ binds:
+ - address: 10.0.88.70
+ port: 3306
+ servers:
+ - name: node1
+ host: 10.0.88.13
+ port: 3306
+ params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3
+ - name: node2
+ host: 10.0.88.14
+ port: 3306
+ params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
+ - name: node3
+ host: 10.0.88.15
+ port: 3306
+ params: check inter 15s fastinter 2s downinter 1s rise 5 fall 3 backup
+ rabbitmq:
+ type: rabbitmq
+ binds:
+ - address: 10.0.88.70
+ port: 5672
+ servers:
+ - name: node1
+ host: 10.0.88.13
+ port: 5673
+ params: check inter 5000 rise 2 fall 3
+ - name: node2
+ host: 10.0.88.14
+ port: 5673
+ params: check inter 5000 rise 2 fall 3 backup
+ - name: node3
+ host: 10.0.88.15
+ port: 5673
+ params: check inter 5000 rise 2 fall 3 backup
+ keystone-1:
+ type: general-service
+ binds:
+ - address: 10.0.106.170
+ port: 5000
+ servers:
+ - name: node1
+ host: 10.0.88.13
+ port: 5000
+ params: check
Custom more complex listener (for Artifactory and subdomains for docker
registries)