|Repo Name| version | Build Status| |—|—|—|—| |cd_haproxy|
-1.0.1.0 | |
Synopsis
@@ -201,13 +201,16 @@ addresses the define, like so:cd_haproxy::server::proxy { 'testing':
frontend_name => 'test01-frontend',
- acl_rule => 'test01-acl',
+ frontend_mode => 'http',
+ `acl_rule` => ['too_fast fe_sess_rate ge 10',
+ 'network_allowed src 0.0.0.0/0'],
backend_name => 'test01-backend',
}
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.
+in the configuration file are made. Multiple ACLs need to be added as +array, and will create one line each.SELINUX
diff --git a/doc/index.html b/doc/index.html index 3d6f3c4..e1ab148 100644 --- a/doc/index.html +++ b/doc/index.html @@ -59,7 +59,7 @@|Repo Name| version | Build Status| |—|—|—|—| |cd_haproxy|
-1.0.1.0 | |
Synopsis
@@ -201,13 +201,16 @@ addresses the define, like so:cd_haproxy::server::proxy { 'testing':
frontend_name => 'test01-frontend',
- acl_rule => 'test01-acl',
+ frontend_mode => 'http',
+ `acl_rule` => ['too_fast fe_sess_rate ge 10',
+ 'network_allowed src 0.0.0.0/0'],
backend_name => 'test01-backend',
}
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.
+in the configuration file are made. Multiple ACLs need to be added as +array, and will create one line each.SELINUX
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aproxy_test.html b/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aproxy_test.html index 1664671..0b70acb 100644 --- a/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aproxy_test.html +++ b/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aproxy_test.html @@ -130,7 +130,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/. 30 31 32 -33 +33 +34# File 'manifests/server/proxy_test.pp', line 23
@@ -142,7 +143,8 @@ class cd_haproxy::server::proxy_test (
cd_haproxy::server::proxy { 'testing':
frontend_name => 'test01-frontend',
frontend_mode => 'http',
- acl_rule => ['too_fast fe_sess_rate ge 10','network_allowed src 0.0.0.0/0'],
+ acl_rule => ['too_fast fe_sess_rate ge 10',
+ 'network_allowed src 0.0.0.0/0'],
backend_name => 'test01-backend',
}
}