diff --git a/CHANGELOG.md b/CHANGELOG.md index 5466aad..5a00117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,20 @@ Changelog of Git Changelog.
+
+
diff --git a/doc/file.README.html b/doc/file.README.html index 30276a5..a3d5984 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -127,7 +127,7 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
CONFIGURATION * manage haproxy user * manage directories (file system permissions, selinux context) * manage files (file system permissions, -content, selinux context)
+content, selinux context) * manage proxy instances through a defineSERVICE * manage haproxy service
@@ -191,6 +191,23 @@ should be running. The module will install it only on the host in question.The proxy instances are configured in /etc/haproxy/haproxy.cfg, which is +concatenated from various templates through a define in this puppet module. +In order to create proxy instances, you will need an external class, which +addresses the define, like so:
+ +cd_haproxy::server::proxy { 'testing':
+ frontend_name => 'test01-frontend',
+ acl_rule => 'test01-acl',
+ 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.
+All files and directories are configured with correct selinux context. If diff --git a/doc/index.html b/doc/index.html index f1bd747..349f29c 100644 --- a/doc/index.html +++ b/doc/index.html @@ -127,7 +127,7 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
CONFIGURATION * manage haproxy user * manage directories (file system permissions, selinux context) * manage files (file system permissions, -content, selinux context)
+content, selinux context) * manage proxy instances through a defineSERVICE * manage haproxy service
@@ -191,6 +191,23 @@ should be running. The module will install it only on the host in question.The proxy instances are configured in /etc/haproxy/haproxy.cfg, which is +concatenated from various templates through a define in this puppet module. +In order to create proxy instances, you will need an external class, which +addresses the define, like so:
+ +cd_haproxy::server::proxy { 'testing':
+ frontend_name => 'test01-frontend',
+ acl_rule => 'test01-acl',
+ 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.
+All files and directories are configured with correct selinux context. If diff --git a/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html index cf281a5..2370f81 100644 --- a/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html @@ -131,7 +131,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.
35 36 37 -38 +38 +39# File 'manifests/server/service.pp', line 23
@@ -149,6 +150,7 @@ class cd_haproxy::server::service (
hasstatus => true,
hasrestart => true,
enable => true,
+ subscribe => $hy_main_config,
}
}
}