From dd61cd7f9df8a29282e54e9fc6841babfb39b64c Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sun, 30 Dec 2018 18:31:41 +0100 Subject: [PATCH] host binding via fqdn works --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e03b675..393c426 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ |Repo Name| version | Build Status| |---|---|---|---| -|`cd_haproxy`| 1.0.2.0 | [![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_haproxy)](https://pipelines.confdroid.com/job/cd_haproxy/)| +|`cd_haproxy`| 1.0.3.0 | [![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_haproxy)](https://pipelines.confdroid.com/job/cd_haproxy/)| ### 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. @@ -94,6 +94,7 @@ In order to create proxy instances, you will need an external class, which addre ``` cd_haproxy::server::proxy { 'testing': + haproxy_fqdn => 'node.example.net', frontend_name => 'test01-frontend', frontend_mode => 'http', 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. +`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. ### SELINUX