adds frontend variables
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|Repo Name| version | Build Status|
|
|Repo Name| version | Build Status|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|`cd_haproxy`| 1.0.0.0 | [](https://pipelines.confdroid.com/job/cd_haproxy/)|
|
|`cd_haproxy`| 1.0.1.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.
|
||||||
@@ -42,6 +42,7 @@ CONFIGURATION
|
|||||||
|
|
||||||
SERVICE
|
SERVICE
|
||||||
* manage haproxy service
|
* manage haproxy service
|
||||||
|
* restart service after changes in the configuration
|
||||||
|
|
||||||
### Repo Structure
|
### Repo Structure
|
||||||
Repostructure has moved to REPOSTRUCTURE.md in repo.
|
Repostructure has moved to REPOSTRUCTURE.md in repo.
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
define cd_haproxy::server::proxy (
|
define cd_haproxy::server::proxy (
|
||||||
|
|
||||||
$frontend_name = undef,
|
$frontend_name = undef,
|
||||||
|
$frontend_mode = undef,
|
||||||
$frontend_order = '010',
|
$frontend_order = '010',
|
||||||
$acl_rule = undef,
|
$acl_rule = undef,
|
||||||
$acl_order = '020',
|
$acl_order = '020',
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ class cd_haproxy::server::proxy_test (
|
|||||||
|
|
||||||
cd_haproxy::server::proxy { 'testing':
|
cd_haproxy::server::proxy { 'testing':
|
||||||
frontend_name => 'test01-frontend',
|
frontend_name => 'test01-frontend',
|
||||||
|
frontend_mode => 'http',
|
||||||
acl_rule => 'test01-acl',
|
acl_rule => 'test01-acl',
|
||||||
backend_name => 'test01-backend',
|
backend_name => 'test01-backend',
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
frontend <%= @frontend_name %>
|
frontend <%= @frontend_name %>
|
||||||
|
mode <%= @frontend_mode %>
|
||||||
|
|||||||
Reference in New Issue
Block a user