host binding via fqdn works
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|Repo Name| version | Build Status|
|
|Repo Name| version | Build Status|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|`cd_haproxy`| 1.0.2.0 | [](https://pipelines.confdroid.com/job/cd_haproxy/)|
|
|`cd_haproxy`| 1.0.3.0 | [](https://pipelines.confdroid.com/job/cd_haproxy/)|
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
`HA Proxy` is a very powerful and popular open source load balanacer to balance incoming requests between multiple instances of web-, application- or database servers etc.
|
`HA Proxy` is a very powerful and popular open source load balanacer to balance incoming requests between multiple instances of web-, application- or database servers etc.
|
||||||
@@ -94,6 +94,7 @@ In order to create proxy instances, you will need an external class, which addre
|
|||||||
|
|
||||||
```
|
```
|
||||||
cd_haproxy::server::proxy { 'testing':
|
cd_haproxy::server::proxy { 'testing':
|
||||||
|
haproxy_fqdn => 'node.example.net',
|
||||||
frontend_name => 'test01-frontend',
|
frontend_name => 'test01-frontend',
|
||||||
frontend_mode => 'http',
|
frontend_mode => 'http',
|
||||||
acl_rule => ['too_fast fe_sess_rate ge 10',
|
acl_rule => ['too_fast fe_sess_rate ge 10',
|
||||||
@@ -103,6 +104,7 @@ In order to create proxy instances, you will need an external class, which addre
|
|||||||
```
|
```
|
||||||
|
|
||||||
This allows the puppet module to create the sections in the configuration file as required. The haproxy service will be restarted after the changes in the configuration file are made.
|
This allows the puppet module to create the sections in the configuration file as required. The haproxy service will be restarted after the changes in the configuration file are made.
|
||||||
|
`haproxy_fqdn` **__must__** contain the fqdn of the haproxy **__server__** where this should be configured, otherwise the templates are not being populated.
|
||||||
Multiple ACLs need to be added as array, and will create one line each.
|
Multiple ACLs need to be added as array, and will create one line each.
|
||||||
|
|
||||||
### SELINUX
|
### SELINUX
|
||||||
|
|||||||
Reference in New Issue
Block a user