Documentation by YARD 0.9.16
-Alphabetic Index
- -Puppet Class Listing A-Z
- - -
-
-
-
|
-
Defined Type Listing A-Z
- - -
-
-
-
|
-
File Listing
--
-
-
-
- README - - -
From 8fa9a83b992f1b105d4105ea05b82d807ebbd76a Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid [[TOC]] INSTALLATION install rpm binaries CONFIGURATION manage haproxy user manage directories (file system permissions, selinux context) manage files (file system permissions, content, selinux context) manage proxy instances through a define frontend options backend options ACL options INSTALLATION * install rpm binaries SERVICE manage haproxy service restart service after changes in the configuration CONFIGURATION * manage haproxy user * manage directories (file system
-permissions, selinux context) * manage files (file system permissions,
-content, selinux context) * manage proxy instances through a define *
-frontend options * backend options * ACL options SERVICE * manage haproxy service * restart service after changes in the
-configuration Repostructure has moved to REPOSTRUCTURE.md in repo. See the full Puppet documentation in docs/index.html All dependencies must be included in the catalogue. cd_resources
+href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources
for managing yum base repos via site.pp or nodes.ppSynopsis
+Synopsis
HA Proxy is a very powerful and popular open source load
-balanacer to balance incoming requests between multiple instances of web-,
+balancer to balance incoming requests between multiple instances of web-,
application- or database servers etc.cd_haproxy automates installation and configuration of
HA proxy including self-healing, monitoring and firewall etc.WARNING
+WARNING
**__!!! Attention: Never use this puppet module on systems which have
been previously configured manually. It is impossible to predict how and
-what would have been configured, hence previuos configurations outside the
+what would have been configured, hence previous configurations outside the
scope of this module may be overwritten! Automated configurations require a
test environment to verify that the module suits the purpose intended by
the user, as well as tune the parameters, before deploying into live
production!!! __**Table of Contents
+Features
+
+
-Features
+
-
-Puppet Documentation
-Repo Structure
-
-Repo Documentation
-
-Dependencies
+Dependencies
-Deployment
+Deployment
-native Puppet deployment
+native Puppet deployment
In order to apply parameters through Foreman, -cd_haproxy::params must be added to the host or hostgroup -in question.
+Add params.pp to the host or hostgroup.
See more -details about class deployment on Confdroid.com.
+href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">details. -The following parameters are editable via params.pp or through ENC -(recommended). Values changed will take immediate effect -at next puppet run. Services will be restarted where neccessary.
+The full -list of Parameters is available here and in -the docs folder in the software repo.
+The parameters are defined and described in params.pp. The
+documentation is provided via puppet strings in HTML format,
+please see doc/index.html via web browser.
hy_host_fqdn: Specify the FQDN of the host(s) where HA proxy
-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:
+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':
haproxy_fqdn => 'node.example.net',
@@ -205,65 +172,59 @@ addresses the define, like so:
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. 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.
This class should be placed in an internal configuration repo specific to +your environment.
-All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.
-OS: CentOS 7
Puppet 5.x
Puppet Lint
excluded tests:
--no-class_inherits_from_params_class-check:relavant only to
+
--no-class_inherits_from_params_class-check:relevant only to
non-supported outdated puppet versions
--no-variable_scope-check: not applicable as we are inheriting
-parameters from params class. the lint check does not distinguish between
-facts and inherited parameters.
--no-80chars-check: it is not always possible to stay within
-80 characters, although typically only occurring on the parameter vault
+
--no-80chars-check: it is not always possible to stay within
+80 characters, although typically only occurring on the parameter vault
params.pp.
--no-arrow_alignment-check: this check leads to actually not
-having am easily readable arrow alignment, as this checks per
-block, not per class.
per
+block, not per class.
Puppet Parser
ERB Template Parser
Test for unwanted UTF8 files in the Puppet code as this causes problems -with PuppetDB (see tests/UTF_Files)
- -Test for unwanted UTF8 files
ConfDroid as entity is entirely independent from Puppet. We provide custom +
+ +ConfDroid as entity is independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments. The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development diff --git a/doc/index.html b/doc/index.html index dc57f2c..7c8cf3e 100644 --- a/doc/index.html +++ b/doc/index.html @@ -61,98 +61,76 @@
-[[TOC]]
+ +HA Proxy is a very powerful and popular open source load
-balanacer to balance incoming requests between multiple instances of web-,
+balancer to balance incoming requests between multiple instances of web-,
application- or database servers etc.
cd_haproxy automates installation and configuration of
HA proxy including self-healing, monitoring and firewall etc.
**__!!! Attention: Never use this puppet module on systems which have
been previously configured manually. It is impossible to predict how and
-what would have been configured, hence previuos configurations outside the
+what would have been configured, hence previous configurations outside the
scope of this module may be overwritten! Automated configurations require a
test environment to verify that the module suits the purpose intended by
the user, as well as tune the parameters, before deploying into live
production!!! __**
INSTALLATION
install rpm binaries
CONFIGURATION
+manage haproxy user
+manage directories (file system permissions, selinux context)
+manage files (file system permissions, content, selinux context)
+manage proxy instances through a define
+frontend options
+backend options
+ACL options
+INSTALLATION * install rpm binaries
+SERVICE
+manage haproxy service
+restart service after changes in the configuration
+CONFIGURATION * manage haproxy user * manage directories (file system -permissions, selinux context) * manage files (file system permissions, -content, selinux context) * manage proxy instances through a define * -frontend options * backend options * ACL options
+SERVICE * manage haproxy service * restart service after changes in the -configuration
- -Repostructure has moved to REPOSTRUCTURE.md in repo.
- -See the full Puppet documentation in docs/index.html
- -All dependencies must be included in the catalogue.
cd_resources +href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources for managing yum base repos
via site.pp or nodes.pp
@@ -160,41 +138,30 @@ managing file fragments include cd_haproxy } -In order to apply parameters through Foreman, -cd_haproxy::params must be added to the host or hostgroup -in question.
+Add params.pp to the host or hostgroup.
See more -details about class deployment on Confdroid.com.
+href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">details. -The following parameters are editable via params.pp or through ENC -(recommended). Values changed will take immediate effect -at next puppet run. Services will be restarted where neccessary.
+The full -list of Parameters is available here and in -the docs folder in the software repo.
+The parameters are defined and described in params.pp. The
+documentation is provided via puppet strings in HTML format,
+please see doc/index.html via web browser.
hy_host_fqdn: Specify the FQDN of the host(s) where HA proxy
-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:
+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':
haproxy_fqdn => 'node.example.net',
@@ -205,65 +172,59 @@ addresses the define, like so:
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. 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.
This class should be placed in an internal configuration repo specific to +your environment.
-All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.
-OS: CentOS 7
Puppet 5.x
Puppet Lint
excluded tests:
--no-class_inherits_from_params_class-check:relavant only to
+
--no-class_inherits_from_params_class-check:relevant only to
non-supported outdated puppet versions
--no-variable_scope-check: not applicable as we are inheriting
-parameters from params class. the lint check does not distinguish between
-facts and inherited parameters.
--no-80chars-check: it is not always possible to stay within
-80 characters, although typically only occurring on the parameter vault
+
--no-80chars-check: it is not always possible to stay within
+80 characters, although typically only occurring on the parameter vault
params.pp.
--no-arrow_alignment-check: this check leads to actually not
-having am easily readable arrow alignment, as this checks per
-block, not per class.
per
+block, not per class.
Puppet Parser
ERB Template Parser
Test for unwanted UTF8 files in the Puppet code as this causes problems -with PuppetDB (see tests/UTF_Files)
- -Test for unwanted UTF8 files
ConfDroid as entity is entirely independent from Puppet. We provide custom +
+ +ConfDroid as entity is independent from Puppet. We provide custom
configuration modules, written for specific purposes and specific
environments. The modules are tested and supported only as documented, and
require testing in designated environments (i.e. lab or development
From 33865b82bd47b6fab07ef4ea665253dea6612d3b Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid [[TOC]] INSTALLATION install rpm binaries CONFIGURATION manage haproxy user manage directories (file system permissions, selinux context) manage files (file system permissions, content, selinux context) manage proxy instances through a define frontend options backend options ACL options SERVICE manage haproxy service restart service after changes in the configuration All dependencies must be included in the catalogue. cd_resources
-for managing yum base repos via site.pp or nodes.pp Add params.pp to the host or hostgroup. See details. The parameters are defined and described in The proxy instances are configured in
- This class should be placed in an internal configuration repo specific to
-your environment. All files and directories are configured with correct selinux context. If
-selinux is disabled, these contexts are ignored. OS: CentOS 7 Puppet 5.x Puppet Lint excluded tests: Puppet Parser ERB Template Parser Test for unwanted UTF8 files ConfDroid as entity is independent from Puppet. We provide custom
-configuration modules, written for specific purposes and specific
-environments. The modules are tested and supported only as documented, and
-require testing in designated environments (i.e. lab or development
-environments) for parameter tuning etc. before deploying into production
-environments. [[TOC]] INSTALLATION install rpm binaries CONFIGURATION manage haproxy user manage directories (file system permissions, selinux context) manage files (file system permissions, content, selinux context) manage proxy instances through a define frontend options backend options ACL options SERVICE manage haproxy service restart service after changes in the configuration All dependencies must be included in the catalogue. cd_resources
-for managing yum base repos via site.pp or nodes.pp Add params.pp to the host or hostgroup. See details. The parameters are defined and described in The proxy instances are configured in
- This class should be placed in an internal configuration repo specific to
-your environment. All files and directories are configured with correct selinux context. If
-selinux is disabled, these contexts are ignored. OS: CentOS 7 Puppet 5.x Puppet Lint excluded tests: Puppet Parser ERB Template Parser Test for unwanted UTF8 files ConfDroid as entity is independent from Puppet. We provide custom
-configuration modules, written for specific purposes and specific
-environments. The modules are tested and supported only as documented, and
-require testing in designated environments (i.e. lab or development
-environments) for parameter tuning etc. before deploying into production
-environments. cd_haproxy::init.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::firewall::iptables.pp Module name: cd_haproxy Author: Arne
-Teuke (arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::config.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::dirs.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::files.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::install.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::user.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@ConfDroid.com) This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HAproxy
-Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::params.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::server::proxy_test.pp Module name: cd_haproxy Author: Arne
-Teuke (arne_teuke@ConfDroid.com) This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HAProxy
-Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::server::service.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
-Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. cd_haproxy::server::proxy.pp Module name: cd_haproxy Author: Arne Teuke
-(arne_teuke@ConfDroid.com) This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HAProxy
-Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
-free software: you can redistribute it and/or modify it under the terms of
-the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details. You should have received a copy of the GNU General Public License along
-with this program. If not, see www.gnu.org/licenses/. [[TOC]] INSTALLATION install rpm binaries CONFIGURATION manage haproxy user manage directories (file system permissions, selinux context) manage files (file system permissions, content, selinux context) manage proxy instances through a define front-end options back-end options ACL options SERVICE manage haproxy service restart service after changes in the configuration All dependencies must be included in the catalogue. cd_resources
+for managing yum base repos native Puppet deployment via site.pp or nodes.pp through Foreman: In order to apply parameters through Foreman,
+cd_haproxy::params must be added to the host or host group
+in question. See more
+details about class deployment on Confdroid.com. The parameters are documented via puppet strings and listed here. Simply open in web browser. 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: 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
+selinux is disabled, these contexts are ignored. OS: CentOS 7 Puppet 5 Puppet Lint excluded tests: Puppet Parser ERB Template Parser Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files) Markdown-lint Spellcheck Sonar Quality Gate ConfDroid as entity is entirely independent from Puppet. We provide custom
+configuration modules, written for specific purposes and specific
+environments. The modules are tested and supported only as documented, and
+require testing in designated environments (i.e. lab or development
+environments) for parameter tuning etc. before deploying into production
+environments. [[TOC]] INSTALLATION install rpm binaries CONFIGURATION manage haproxy user manage directories (file system permissions, selinux context) manage files (file system permissions, content, selinux context) manage proxy instances through a define front-end options back-end options ACL options SERVICE manage haproxy service restart service after changes in the configuration All dependencies must be included in the catalogue. cd_resources
+for managing yum base repos native Puppet deployment via site.pp or nodes.pp through Foreman: In order to apply parameters through Foreman,
+cd_haproxy::params must be added to the host or host group
+in question. See more
+details about class deployment on Confdroid.com. The parameters are documented via puppet strings and listed here. Simply open in web browser. 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: 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
+selinux is disabled, these contexts are ignored. OS: CentOS 7 Puppet 5 Puppet Lint excluded tests: Puppet Parser ERB Template Parser Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files) Markdown-lint Spellcheck Sonar Quality Gate ConfDroid as entity is entirely independent from Puppet. We provide custom
+configuration modules, written for specific purposes and specific
+environments. The modules are tested and supported only as documented, and
+require testing in designated environments (i.e. lab or development
+environments) for parameter tuning etc. before deploying into production
+environments. cd_haproxy::init.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::firewall::iptables.pp Module name: cd_haproxy Author: Arne
+Teuke (arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::config.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::dirs.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::files.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::install.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::main::user.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@ConfDroid.com) This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HAproxy
+Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::params.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::server::proxy_test.pp Module name: cd_haproxy Author: Arne
+Teuke (arne_teuke@ConfDroid.com) This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HAProxy
+Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::server::service.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@confdroid.com) License: This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HA proxy.
+Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. cd_haproxy::server::proxy.pp Module name: cd_haproxy Author: Arne Teuke
+(arne_teuke@ConfDroid.com) This file is part of cd_haproxy. cd_haproxy is used for providing automatic configuration of HAProxy
+Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
+free software: you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version. This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details. You should have received a copy of the GNU General Public License along
+with this program. If not, see www.gnu.org/licenses/. Attention: Never use this puppet module on systems which have
been previously configured manually. It is impossible to predict how and
-what would have been configured, hence previuos configurations outside the
+what would have been configured, hence previous configurations outside the
scope of this module may be overwritten! Automated configurations require a
test environment to verify that the module suits the purpose intended by
the user, as well as tune the parameters, before deploying into live
-production!!! __** Attention: Never use this puppet module on systems which have
been previously configured manually. It is impossible to predict how and
-what would have been configured, hence previuos configurations outside the
+what would have been configured, hence previous configurations outside the
scope of this module may be overwritten! Automated configurations require a
test environment to verify that the module suits the purpose intended by
the user, as well as tune the parameters, before deploying into live
-production!!! __** Set the maximum inactivity time on the server side. set the timeout value for keeping https connections alive set the timeout value for how long to check if the timeout has occured set the name for the backend server through Foreman: This allows the puppet module to create the sections in the configuration
file as required. The haproxy service will be restarted after the changes
diff --git a/doc/frames.html b/doc/frames.html
index b57c778..1310783 100644
--- a/doc/frames.html
+++ b/doc/frames.html
@@ -2,9 +2,9 @@
through Foreman: This allows the puppet module to create the sections in the configuration
file as required. The haproxy service will be restarted after the changes
diff --git a/doc/js/app.js b/doc/js/app.js
index fecf69d..8d067fe 100644
--- a/doc/js/app.js
+++ b/doc/js/app.js
@@ -171,6 +171,7 @@ function generateTOC() {
var counter = 0;
var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
var i;
+ var curli;
if ($('#filecontents h1').length > 1) tags.unshift('h1');
for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
var lastTag = parseInt(tags[0][1], 10);
@@ -190,15 +191,25 @@ function generateTOC() {
}
if (thisTag > lastTag) {
for (i = 0; i < thisTag - lastTag; i++) {
- var tmp = $(' See Also: OS: CentOS 7 OS: CentOS 7, Rocky 9 Puppet 5 Puppet 6 OS: CentOS 7 OS: CentOS 7, Rocky 9 Puppet 5 Puppet 6Documentation by YARD 0.9.16
-Alphabetic Index
-
-Puppet Class Listing A-Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Defined Type Listing A-Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- File Listing
-
-
-
-
-
-
-
-
- */
-#filecontents table, .docstring table { border-collapse: collapse; }
-#filecontents table th, #filecontents table td,
-.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
-#filecontents table tr:nth-child(odd),
-.docstring table tr:nth-child(odd) { background: #eee; }
-#filecontents table tr:nth-child(even),
-.docstring table tr:nth-child(even) { background: #fff; }
-#filecontents table th, .docstring table th { background: #fff; }
-
-/* style for
*/
-#filecontents li > p, .docstring li > p { margin: 0px; }
-#filecontents ul, .docstring ul { padding-left: 20px; }
-/* style for
*/
-#filecontents dl, .docstring dl { border: 1px solid #ccc; }
-#filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
-#filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
-#filecontents dd > p, .docstring dd > p { margin: 0px; }
-
-.note {
- color: #222;
- margin: 20px 0;
- padding: 10px;
- border: 1px solid #eee;
- border-radius: 3px;
- display: block;
-}
-.docstring .note {
- border-left-color: #ccc;
- border-left-width: 5px;
-}
-.note.todo { background: #ffffc5; border-color: #ececaa; }
-.note.returns_void { background: #efefef; }
-.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
-.note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
-.note.private { background: #ffffc5; border-color: #ececaa; }
-.note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
-.summary_signature + .note.title { margin-left: 7px; }
-h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
-.note.title { background: #efefef; }
-.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
-.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
-.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
-.note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
-.note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
-.discussion .note { margin-top: 6px; }
-.discussion .note:first-child { margin-top: 0; }
-
-h3.inherited {
- font-style: italic;
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
- font-weight: normal;
- padding: 0;
- margin: 0;
- margin-top: 12px;
- margin-bottom: 3px;
- font-size: 13px;
-}
-p.inherited {
- padding: 0;
- margin: 0;
- margin-left: 25px;
-}
-
-.box_info dl {
- margin: 0;
- border: 0;
- width: 100%;
- font-size: 1em;
- display: flex;
- display: -webkit-flex;
- display: -ms-flexbox;
-}
-.box_info dl dt {
- flex-shrink: 0;
- -webkit-flex-shrink: 1;
- -ms-flex-shrink: 1;
- width: 100px;
- text-align: right;
- font-weight: bold;
- border: 1px solid #aaa;
- border-width: 1px 0px 0px 1px;
- padding: 6px 0;
- padding-right: 10px;
-}
-.box_info dl dd {
- flex-grow: 1;
- -webkit-flex-grow: 1;
- -ms-flex: 1;
- max-width: 420px;
- padding: 6px 0;
- padding-right: 20px;
- border: 1px solid #aaa;
- border-width: 1px 1px 0 0;
- overflow: hidden;
- position: relative;
-}
-.box_info dl:last-child > * {
- border-bottom: 1px solid #aaa;
-}
-.box_info dl:nth-child(odd) > * { background: #eee; }
-.box_info dl:nth-child(even) > * { background: #fff; }
-.box_info dl > * { margin: 0; }
-
-ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
-.index_inline_list { padding-left: 0; font-size: 1.1em; }
-
-.index_inline_list li {
- list-style: none;
- display: inline-block;
- padding: 0 12px;
- line-height: 30px;
- margin-bottom: 5px;
-}
-
-dl.constants { margin-left: 10px; }
-dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
-dl.constants.compact dt { display: inline-block; font-weight: normal }
-dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
-dl.constants .docstring .note:first-child { margin-top: 5px; }
-
-.summary_desc {
- margin-left: 32px;
- display: block;
- font-family: sans-serif;
- font-size: 1.1em;
- margin-top: 8px;
- line-height: 1.5145em;
- margin-bottom: 0.8em;
-}
-.summary_desc tt { font-size: 0.9em; }
-dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
-dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
-dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
-dl.constants .discussion *:first-child { margin-top: 0; }
-dl.constants .discussion *:last-child { margin-bottom: 0; }
-
-.method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
-.method_details.first { border: 0; margin-top: 5px; }
-.method_details.first h3.signature { margin-top: 1em; }
-p.signature, h3.signature {
- font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
- padding: 6px 10px; margin-top: 1em;
- background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
-}
-p.signature tt,
-h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
-p.signature .overload,
-h3.signature .overload { display: block; }
-p.signature .extras,
-h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
-p.signature .not_defined_here,
-h3.signature .not_defined_here,
-p.signature .aliases,
-h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
-p.signature .aliases .names,
-h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
-
-.tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
-.tags .tag_title tt { color: initial; padding: initial; background: initial; }
-.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
-.tags ul li { margin-bottom: 3px; }
-.tags ul .name { font-family: monospace; font-weight: bold; }
-.tags ul .note { padding: 3px 6px; }
-.tags { margin-bottom: 12px; }
-
-.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
-.tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
-.tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
-
-.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
-.tags .overload .overload_item .signature {
- padding: 2px 8px;
- background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
-}
-.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
-.tags .overload .docstring { margin-top: 15px; }
-
-.defines { display: none; }
-
-#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
-
-.showSource { font-size: 0.9em; }
-.showSource a, .showSource a:visited { text-decoration: none; color: #666; }
-
-#content a, #content a:visited { text-decoration: none; color: #05a; }
-#content a:hover { background: #ffffa5; }
-
-ul.summary {
- list-style: none;
- font-family: monospace;
- font-size: 1em;
- line-height: 1.5em;
- padding-left: 0px;
-}
-ul.summary a, ul.summary a:visited {
- text-decoration: none; font-size: 1.1em;
-}
-ul.summary li { margin-bottom: 5px; }
-.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
-.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
-.summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
-ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
-ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
-#content .summary_signature:hover a,
-#content .summary_signature:hover a:visited {
- background: transparent;
- color: #049;
-}
-
-p.inherited a { font-family: monospace; font-size: 0.9em; }
-p.inherited { word-spacing: 5px; font-size: 1.2em; }
-
-p.children { font-size: 1.2em; }
-p.children a { font-size: 0.9em; }
-p.children strong { font-size: 0.8em; }
-p.children strong.modules { padding-left: 5px; }
-
-ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
-ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
-ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,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) no-repeat top center; }
-ul.fullTree li:first-child { padding-top: 0; background: transparent; }
-ul.fullTree li:last-child { padding-bottom: 0; }
-.showAll ul.fullTree { display: block; }
-.showAll .inheritName { display: none; }
-
-#search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
-#search a {
- display: block; float: left;
- padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
- border: 1px solid #d8d8e5;
- border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
- background: #F1F8FF;
- box-shadow: -1px 1px 3px #ddd;
-}
-#search a:hover { background: #f5faff; color: #06b; fill: #06b; }
-#search a.active {
- background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
- border: 1px solid #457;
- border-top-left-radius: 5px; border-top-right-radius: 5px;
-}
-#search a.inactive { color: #999; fill: #999; }
-.inheritanceTree, .toggleDefines {
- float: right;
- border-left: 1px solid #aaa;
- position: absolute; top: 0; right: 0;
- height: 100%;
- background: #f6f6f6;
- padding: 5px;
- min-width: 55px;
- text-align: center;
-}
-
-#menu { font-size: 1.3em; color: #bbb; }
-#menu .title, #menu a { font-size: 0.7em; }
-#menu .title a { font-size: 1em; }
-#menu .title { color: #555; }
-#menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
-#menu a:hover { color: #05a; }
-
-#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
-#footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
-#footer a:hover { color: #05a; }
-
-#listing ul.alpha { font-size: 1.1em; }
-#listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
-#listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
-#listing ul.alpha ul { margin: 0; padding-left: 15px; }
-#listing ul small { color: #666; font-size: 0.7em; }
-
-li.r1 { background: #f0f0f0; }
-li.r2 { background: #fafafa; }
-
-#content ul.summary li.deprecated .summary_signature a,
-#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
-
-#toc {
- position: relative;
- float: right;
- overflow-x: auto;
- right: -3px;
- margin-left: 20px;
- margin-bottom: 20px;
- padding: 20px; padding-right: 30px;
- max-width: 300px;
- z-index: 5000;
- background: #fefefe;
- border: 1px solid #ddd;
- box-shadow: -2px 2px 6px #bbb;
-}
-#toc .title { margin: 0; }
-#toc ol { padding-left: 1.8em; }
-#toc li { font-size: 1.1em; line-height: 1.7em; }
-#toc > ol > li { font-size: 1.1em; font-weight: bold; }
-#toc ol > ol { font-size: 0.9em; }
-#toc ol ol > ol { padding-left: 2.3em; }
-#toc ol + li { margin-top: 0.3em; }
-#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
-#toc.hidden:hover { background: #fafafa; }
-#filecontents h1 + #toc.nofloat { margin-top: 0; }
-@media (max-width: 560px) {
- #toc {
- margin-left: 0;
- margin-top: 16px;
- float: none;
- max-width: none;
- }
-}
-
-/* syntax highlighting */
-.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
-#filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
-#filecontents pre.code, .docstring pre.code { display: block; }
-.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
-#filecontents pre.code, .docstring pre.code,
-.tags pre.example {
- padding: 9px 14px;
- margin-top: 4px;
- border: 1px solid #e1e1e8;
- background: #f7f7f9;
- border-radius: 4px;
- font-size: 1em;
- overflow-x: auto;
- line-height: 1.2em;
-}
-pre.code { color: #000; tab-size: 2; }
-pre.code .info.file { color: #555; }
-pre.code .val { color: #036A07; }
-pre.code .tstring_content,
-pre.code .heredoc_beg, pre.code .heredoc_end,
-pre.code .qwords_beg, pre.code .qwords_end, pre.code .qwords_sep,
-pre.code .words_beg, pre.code .words_end, pre.code .words_sep,
-pre.code .qsymbols_beg, pre.code .qsymbols_end, pre.code .qsymbols_sep,
-pre.code .symbols_beg, pre.code .symbols_end, pre.code .symbols_sep,
-pre.code .tstring, pre.code .dstring { color: #036A07; }
-pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
-pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
-pre.code .dot + pre.code .id,
-pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
-pre.code .comment { color: #0066FF; }
-pre.code .const, pre.code .constant { color: #585CF6; }
-pre.code .label,
-pre.code .symbol { color: #C5060B; }
-pre.code .kw,
-pre.code .rubyid_require,
-pre.code .rubyid_extend,
-pre.code .rubyid_include { color: #0000FF; }
-pre.code .ivar { color: #318495; }
-pre.code .gvar,
-pre.code .rubyid_backref,
-pre.code .rubyid_nth_ref { color: #6D79DE; }
-pre.code .regexp, .dregexp { color: #036A07; }
-pre.code a { border-bottom: 1px dotted #bbf; }
-/* inline code */
-*:not(pre) > code {
- padding: 1px 3px 1px 3px;
- border: 1px solid #E1E1E8;
- background: #F7F7F9;
- border-radius: 4px;
-}
-
-/* Color fix for links */
-#content .summary_desc pre.code .id > .object_link a, /* identifier */
-#content .docstring pre.code .id > .object_link a { color: #0085FF; }
-#content .summary_desc pre.code .const > .object_link a, /* constant */
-#content .docstring pre.code .const > .object_link a { color: #585CF6; }
diff --git a/doc/file.README.html b/doc/file.README.html
deleted file mode 100644
index ff33232..0000000
--- a/doc/file.README.html
+++ /dev/null
@@ -1,241 +0,0 @@
-
-
-
-
-
-
Synopsis
-
-HA Proxy is a very powerful and popular open source load
-balancer to balance incoming requests between multiple instances of web-,
-application- or database servers etc.cd_haproxy automates installation and configuration of
-HA proxy including self-healing, monitoring and firewall etc.WARNING
-
-**__!!! Attention: Never use this puppet module on systems which have
-been previously configured manually. It is impossible to predict how and
-what would have been configured, hence previous configurations outside the
-scope of this module may be overwritten! Automated configurations require a
-test environment to verify that the module suits the purpose intended by
-the user, as well as tune the parameters, before deploying into live
-production!!! __**Features
-
-
-
-
-
-
-
-Puppet Documentation
-
-Dependencies
-
-
-
-Deployment
-
-native Puppet deployment
-
-
-
-node 'example.example.net' {
- include cd_haproxy
-}through Foreman
-
-Documentation
-
-Parameters
-
-params.pp. The
-documentation is provided via puppet strings in HTML format,
-please see doc/index.html via web browser.Proxy Configuration
-
-Via Define
-
-/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':
- haproxy_fqdn => 'node.example.net',
- frontend_name => 'test01-frontend',
- frontend_mode => 'http',
- acl_rule => ['too_fast fe_sess_rate ge 10',
- 'network_allowed src 0.0.0.0/0'],
- backend_name => 'test01-backend',
- }SELINUX
-
-Known Problems
-
-Support
-
-
-Tests
-
-
-
---no-class_inherits_from_params_class-check:relevant only to
-non-supported outdated puppet versions--no-variable_scope-check: not applicable as we are inheriting
-parameters from the params class. the lint check does not distinguish
-between facts and inherited parameters.--no-80chars-check: it is not always possible to stay within
-80 characters, although typically only occurring on the parameter vault
-params.pp.--no-arrow_alignment-check: this check leads to actually not
-having easily readable arrow alignments, as this checks per
-block, not per class.Contact Us
-
-
-
-Disclaimer
-
-Synopsis
-
-HA Proxy is a very powerful and popular open source load
-balancer to balance incoming requests between multiple instances of web-,
-application- or database servers etc.cd_haproxy automates installation and configuration of
-HA proxy including self-healing, monitoring and firewall etc.WARNING
-
-**__!!! Attention: Never use this puppet module on systems which have
-been previously configured manually. It is impossible to predict how and
-what would have been configured, hence previous configurations outside the
-scope of this module may be overwritten! Automated configurations require a
-test environment to verify that the module suits the purpose intended by
-the user, as well as tune the parameters, before deploying into live
-production!!! __**Features
-
-
-
-
-
-
-
-Puppet Documentation
-
-Dependencies
-
-
-
-Deployment
-
-native Puppet deployment
-
-
-
-node 'example.example.net' {
- include cd_haproxy
-}through Foreman
-
-Documentation
-
-Parameters
-
-params.pp. The
-documentation is provided via puppet strings in HTML format,
-please see doc/index.html via web browser.Proxy Configuration
-
-Via Define
-
-/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':
- haproxy_fqdn => 'node.example.net',
- frontend_name => 'test01-frontend',
- frontend_mode => 'http',
- acl_rule => ['too_fast fe_sess_rate ge 10',
- 'network_allowed src 0.0.0.0/0'],
- backend_name => 'test01-backend',
- }SELINUX
-
-Known Problems
-
-Support
-
-
-Tests
-
-
-
---no-class_inherits_from_params_class-check:relevant only to
-non-supported outdated puppet versions--no-variable_scope-check: not applicable as we are inheriting
-parameters from the params class. the lint check does not distinguish
-between facts and inherited parameters.--no-80chars-check: it is not always possible to stay within
-80 characters, although typically only occurring on the parameter vault
-params.pp.--no-arrow_alignment-check: this check leads to actually not
-having easily readable arrow alignments, as this checks per
-block, not per class.Contact Us
-
-
-
-Disclaimer
-
-');
- list.html(next.html());
- list.find('.summary_desc, .note').remove();
- list.find('a').each(function() {
- $(this).html($(this).find('strong').html());
- $(this).parent().html($(this)[0].outerHTML);
- });
- next.before(list);
- next.toggle();
- }
- });
- return false;
- });
- if (localStorage.summaryCollapsed == "collapse") {
- $('.summary_toggle').first().click();
- } else { localStorage.summaryCollapsed = "expand"; }
-}
-
-function constantSummaryToggle() {
- $('.constants_summary_toggle').click(function(e) {
- e.preventDefault();
- localStorage.summaryCollapsed = $(this).text();
- $('.constants_summary_toggle').each(function() {
- $(this).text($(this).text() == "collapse" ? "expand" : "collapse");
- var next = $(this).parent().parent().nextAll('dl.constants').first();
- if (next.hasClass('compact')) {
- next.toggle();
- next.nextAll('dl.constants').first().toggle();
- }
- else if (next.hasClass('constants')) {
- var list = $('
');
- list.html(next.html());
- list.find('dt').each(function() {
- $(this).addClass('summary_signature');
- $(this).text( $(this).text().split('=')[0]);
- if ($(this).has(".deprecated").length) {
- $(this).addClass('deprecated');
- };
- });
- // Add the value of the constant as "Tooltip" to the summary object
- list.find('pre.code').each(function() {
- console.log($(this).parent());
- var dt_element = $(this).parent().prev();
- var tooltip = $(this).text();
- if (dt_element.hasClass("deprecated")) {
- tooltip = 'Deprecated. ' + tooltip;
- };
- dt_element.attr('title', tooltip);
- });
- list.find('.docstring, .tags, dd').remove();
- next.before(list);
- next.toggle();
- }
- });
- return false;
- });
- if (localStorage.summaryCollapsed == "collapse") {
- $('.constants_summary_toggle').first().click();
- } else { localStorage.summaryCollapsed = "expand"; }
-}
-
-function generateTOC() {
- if ($('#filecontents').length === 0) return;
- var _toc = $('
');
- var show = false;
- var toc = _toc;
- var counter = 0;
- var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
- var i;
- if ($('#filecontents h1').length > 1) tags.unshift('h1');
- for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
- var lastTag = parseInt(tags[0][1], 10);
- $(tags.join(', ')).each(function() {
- if ($(this).parents('.method_details .docstring').length != 0) return;
- if (this.id == "filecontents") return;
- show = true;
- var thisTag = parseInt(this.tagName[1], 10);
- if (this.id.length === 0) {
- var proposedId = $(this).attr('toc-id');
- if (typeof(proposedId) != "undefined") this.id = proposedId;
- else {
- var proposedId = $(this).text().replace(/[^a-z0-9-]/ig, '_');
- if ($('#' + proposedId).length > 0) { proposedId += counter; counter++; }
- this.id = proposedId;
- }
- }
- if (thisTag > lastTag) {
- for (i = 0; i < thisTag - lastTag; i++) {
- var tmp = $('
'); toc.append(tmp); toc = tmp;
- }
- }
- if (thisTag < lastTag) {
- for (i = 0; i < lastTag - thisTag; i++) toc = toc.parent();
- }
- var title = $(this).attr('toc-title');
- if (typeof(title) == "undefined") title = $(this).text();
- toc.append('
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;et ","
"],tr:[2,"","
"],td:[3,"
"],col:[2,"","
"],area:[1,""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i
Puppet Class List
-
-
-
-
-
-
- Puppet Class: cd_haproxy
-
-
-Summary
- Class initializes the cd_haproxy module.
-
-Overview
-
-
-
-
-
-
-
-
-
-23
-24
-25
-
-
- # File 'manifests/init.pp', line 23
-
-class cd_haproxy {
- include cd_haproxy::params
-}
- Puppet Class: cd_haproxy::firewall::iptables
-
-
-
-
-
-
-Summary
- manage firewall settings through cd_firewall or puppetlabs-firewall
-
-Overview
-
-
-
-
-
-
-
-
-
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-
-
- # File 'manifests/firewall/iptables.pp', line 23
-
-class cd_haproxy::firewall::iptables (
-
-) inherits cd_haproxy::params {
-
- if ($fqdn == $hy_host_fqdn) and ($hy_manage_fw == true) {
-
- require cd_haproxy::main::files
-
- firewall { "${hy_fw_order_no}${hy_http_port} tcp port ${hy_http_port}":
- proto => 'tcp',
- dport => $hy_http_port,
- action => 'accept',
- }
-
- firewall { "${hy_fw_order_no}${hy_https_port} tcp port ${hy_https_port}":
- proto => 'tcp',
- dport => $hy_https_port,
- action => 'accept',
- }
- }
-}
- Puppet Class: cd_haproxy::main::config
-
-
-
-
-
-
-Summary
- Class manages all aspects of configuring the module logic for
-cd_haproxy.
-
-Overview
-
-
-
-
-
-
-
-
-
-24
-25
-26
-27
-28
-29
-30
-31
-
-
- # File 'manifests/main/config.pp', line 24
-
-class cd_haproxy::main::config (
-
-) inherits cd_haproxy::params {
-
- include cd_haproxy::server::service
- include cd_haproxy::server::proxy_test
-
-}
- Puppet Class: cd_haproxy::main::dirs
-
-
-
-
-
-
-Summary
- Class manages all directories required for cd_haproxy.
-
-Overview
-
-
-
-
-
-
-
-
-
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-
-
- # File 'manifests/main/dirs.pp', line 23
-
-class cd_haproxy::main::dirs (
-
-) inherits cd_haproxy::params {
-
- if $fqdn == $hy_host_fqdn {
- require cd_haproxy::main::user
-
- # main dir
- file { $hy_main_dir:
- ensure => directory,
- owner => 'root',
- group => 'root',
- mode => '0755',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- }
-
- # errors dir
- file { $hy_errors_dir:
- ensure => directory,
- owner => 'root',
- group => 'root',
- mode => '0755',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- }
- }
-}
- Puppet Class: cd_haproxy::main::files
-
-
-
-
-
-
-Summary
- Class manages all configuration files required for cd_haproxy.
-
-Overview
-
-
-
-
-
-
-
-
-
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
-143
-144
-145
-146
-147
-148
-149
-150
-151
-152
-153
-154
-
-
- # File 'manifests/main/files.pp', line 23
-
-class cd_haproxy::main::files (
-
-) inherits cd_haproxy::params {
-
- if $fqdn == $hy_host_fqdn {
- require cd_haproxy::main::dirs
-
- # create the concat target
- concat {$hy_main_config:
- ensure => present,
- owner => 'root',
- group => 'root',
- mode => '0640',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- notify => Service[$hy_service],
- }
-
- # create the header
- concat::fragment { 'header':
- target => $hy_main_config,
- content => template($hy_config_head_erb),
- order => '001',
- }
-
- # pid file
- file { $hy_pid:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => haproxy_var_run_t,
- seluser => system_u,
- }
-
- # error files
- file { $hy_400_file:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($hy_400_erb),
- notify => Service[$hy_service],
- }
-
- file { $hy_403_file:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($hy_403_erb),
- notify => Service[$hy_service],
- }
-
- file { $hy_408_file:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($hy_408_erb),
- notify => Service[$hy_service],
- }
-
- file { $hy_500_file:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($hy_500_erb),
- notify => Service[$hy_service],
- }
-
- file { $hy_502_file:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($hy_502_erb),
- notify => Service[$hy_service],
- }
-
- file { $hy_503_file:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($hy_503_erb),
- notify => Service[$hy_service],
- }
-
- file { $hy_504_file:
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- selrange => s0,
- selrole => object_r,
- seltype => etc_t,
- seluser => system_u,
- content => template($hy_504_erb),
- notify => Service[$hy_service],
- }
- }
-}
- Puppet Class: cd_haproxy::main::install
-
-
-
-
-
-
-Summary
- Class manage all aspects of installing binaries required for
-cd_haproxy
-
-Overview
-
-
-
-
-
-
-
-
-
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-
-
- # File 'manifests/main/install.pp', line 24
-
-class cd_haproxy::main::install (
-
-) inherits cd_haproxy::params {
-
- if $fqdn == $hy_host_fqdn {
- package {$reqpackages:
- ensure => $pkg_ensure,
- }
- }
-}
- Puppet Class: cd_haproxy::main::user
-
-
-
-
-
-
-Summary
- Class manages service users for cd_haproxy.
-
-Overview
-License:
-
-
-
-
-
-
-
-
-
-
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-
-
- # File 'manifests/main/user.pp', line 23
-
-class cd_haproxy::main::user (
-
-) inherits cd_haproxy::params {
-
- if $fqdn == $hy_host_fqdn {
- require cd_haproxy::main::install
-
- # manage user
- user { $hy_user_name:
- ensure => present,
- name => $hy_user_name,
- allowdupe => false,
- comment => $hy_user_comment,
- gid => $hy_user_name,
- managehome => true,
- home => $hy_user_home,
- shell => $hy_user_shell,
- }
-
- group { $hy_user_name:
- ensure => present,
- name => $hy_user_name,
- allowdupe => false,
- }
- }
-}
- Puppet Class: cd_haproxy::params
-
-
-
-
-
- cd_haproxy::main::user
-
- cd_haproxy::main::files
-
- cd_haproxy::main::config
-
- cd_haproxy::main::install
-
- cd_haproxy::server::service
-
- cd_haproxy::firewall::iptables
-
- cd_haproxy::server::proxy_test
-
-
-
-Summary
- Class holds all parameters for the cd_haproxy module and is
-inherited by all classes except defines.
-
-Overview
-
-
-
-
-
-
-
-
-
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
-143
-144
-145
-146
-147
-148
-149
-150
-
-
- # File 'manifests/params.pp', line 74
-
-class cd_haproxy::params (
-
-$pkg_ensure = 'latest',
-$reqpackages = ['haproxy'],
-
-$hy_host_fqdn = "proxy.${::domain}",
-
-# firewall
-$hy_manage_fw = true,
-$hy_fw_order_no = '50',
-
-# main config
-$hy_http_port = '80',
-$hy_https_port = '443',
-$hy_chroot = '/var/lib/haproxy',
-$hy_pid = '/var/run/haproxy.pid',
-$hy_maxconn = '4000',
-$hy_show_stats = true,
-$hy_stats_socket = '/var/lib/haproxy/stats',
-$hy_default_mode = 'http',
-$hy_use_http_server_close = true,
-$hy_use_forward_for = true,
-$hy_use_redispatch = true,
-$hy_max_retries = '3',
-$hy_timeout_http_request = '10s',
-$hy_timeout_queue = '1m',
-$hy_timeout_connect = '10s',
-$hy_timeout_client = '1m',
-$hy_timeout_server = '1m',
-$hy_timeout_http_keep_alive = '10s',
-$hy_timeout_check = '10s',
-
-# user
-$hy_user_name = 'haproxy',
-$hy_user_comment = 'haproxy user',
-$hy_user_home = '/var/lib/haproxy',
-$hy_user_shell = '/sbin/nologin',
-
-# logging
-$hy_log_target = '127.0.0.1',
-$hy_log_facility = 'local2',
-$hy_log_default = 'global',
-$hy_use_httplog = true,
-$hy_use_dontlognull = true,
-
-) {
-
-# service
-$hy_service = 'haproxy'
-
-# directories
-$hy_main_dir = '/etc/haproxy'
-$hy_errors_dir = "${hy_main_dir}/errors"
-
-# files
-$hy_main_config = "${hy_main_dir}/haproxy.cfg"
-$hy_config_head_erb = 'cd_haproxy/haproxy_head.erb'
-$hy_400_file = "${hy_errors_dir}/400.http"
-$hy_400_erb = 'cd_haproxy/errors/400_http.erb'
-$hy_403_file = "${hy_errors_dir}/403.http"
-$hy_403_erb = 'cd_haproxy/errors/403_http.erb'
-$hy_408_file = "${hy_errors_dir}/408.http"
-$hy_408_erb = 'cd_haproxy/errors/408_http.erb'
-$hy_500_file = "${hy_errors_dir}/500.http"
-$hy_500_erb = 'cd_haproxy/errors/500_http.erb'
-$hy_502_file = "${hy_errors_dir}/502.http"
-$hy_502_erb = 'cd_haproxy/errors/502_http.erb'
-$hy_503_file = "${hy_errors_dir}/503.http"
-$hy_503_erb = 'cd_haproxy/errors/503_http.erb'
-$hy_504_file = "${hy_errors_dir}/504.http"
-$hy_504_erb = 'cd_haproxy/errors/504_http.erb'
-
-# includes must be last
-
- include cd_haproxy::main::config
-
-}
- Puppet Class: cd_haproxy::server::proxy_test
-
-
-
-
-
-
-Summary
- Define manages the proxies for cd_haproxy.
-
-Overview
-License:
-
-
-
-
-
-
-
-
-
-
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-
-
- # File 'manifests/server/proxy_test.pp', line 23
-
-class cd_haproxy::server::proxy_test (
-
-) inherits cd_haproxy::params {
-
- cd_haproxy::server::proxy { 'testing':
- haproxy_fqdn => 'pxe703.studydivision.local',
- frontend_name => 'test01-frontend',
- frontend_mode => 'http',
- acl_rule => ['too_fast fe_sess_rate ge 10',
- 'network_allowed src 0.0.0.0/0'],
- fe_maxconn => '10000',
- backend_name => 'test01-backend',
- be_server_name => ['web01 web01.confdroid.com:80 check',
- 'web02 web02.confdroid.com:80 check'],
-
- }
-}
- Puppet Class: cd_haproxy::server::service
-
-
-
-
-
-
-Summary
- Class manages the service(s) for cd_haproxy.
-
-Overview
-
-
-
-
-
-
-
-
-
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-
-
- # File 'manifests/server/service.pp', line 23
-
-class cd_haproxy::server::service (
-
-) inherits cd_haproxy::params {
-
- if $fqdn == $hy_host_fqdn {
-
- require cd_haproxy::firewall::iptables
-
- service { $hy_service:
- ensure => running,
- hasstatus => true,
- hasrestart => true,
- enable => true,
- }
- }
-}
- Defined Type List
-
-
-
-
-
-
- Defined Type: cd_haproxy::server::proxy
-
-
-Summary
- Define manages the proxies for cd_haproxy.
-
-Overview
-License:
-
-
-
-
-
-
-
-
-
-
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-
-
- # File 'manifests/server/proxy.pp', line 40
-
-define cd_haproxy::server::proxy (
-
-$haproxy_fqdn = undef,
-$frontend_name = undef,
-$frontend_mode = undef,
-$fe_use_backend = '',
-$fe_bind_mode = '*:80',
-$frontend_order = '010',
-$acl_rule = '',
-$acl_order = '020',
-$backend_name = undef,
-$backend_order = '030',
-$fe_maxconn = undef,
-$be_server_name = undef,
-
-
-) {
-
-$hy_main_config = '/etc/haproxy/haproxy.cfg'
-$hy_frontendrule = 'cd_haproxy/haproxy_frontend_rule.erb'
-$hy_backendrule = 'cd_haproxy/haproxy_backend_rule.erb'
-$hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
-
- # create frontend section
- concat::fragment { "frontend_${name}":
- target => $hy_main_config,
- content => template($hy_frontendrule),
- order => $frontend_order,
- }
-
- # create acl section
- concat::fragment { "acl_${name}":
- target => $hy_main_config,
- content => template($hy_acl_rule),
- order => $acl_order,
- }
-
- # create backend section
- concat::fragment { "backend_${name}":
- target => $hy_main_config,
- content => template($hy_backendrule),
- order => $backend_order,
- }
-}
- Top Level Namespace
-
-
-
-
-Documentation by YARD 0.9.16
+Alphabetic Index
+
+Puppet Class Listing A-Z
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Defined Type Listing A-Z
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ File Listing
+
+
+
+
+
+
+
+
+ */
+#filecontents table, .docstring table { border-collapse: collapse; }
+#filecontents table th, #filecontents table td,
+.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
+#filecontents table tr:nth-child(odd),
+.docstring table tr:nth-child(odd) { background: #eee; }
+#filecontents table tr:nth-child(even),
+.docstring table tr:nth-child(even) { background: #fff; }
+#filecontents table th, .docstring table th { background: #fff; }
+
+/* style for
*/
+#filecontents li > p, .docstring li > p { margin: 0px; }
+#filecontents ul, .docstring ul { padding-left: 20px; }
+/* style for
*/
+#filecontents dl, .docstring dl { border: 1px solid #ccc; }
+#filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
+#filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
+#filecontents dd > p, .docstring dd > p { margin: 0px; }
+
+.note {
+ color: #222;
+ margin: 20px 0;
+ padding: 10px;
+ border: 1px solid #eee;
+ border-radius: 3px;
+ display: block;
+}
+.docstring .note {
+ border-left-color: #ccc;
+ border-left-width: 5px;
+}
+.note.todo { background: #ffffc5; border-color: #ececaa; }
+.note.returns_void { background: #efefef; }
+.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
+.note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
+.note.private { background: #ffffc5; border-color: #ececaa; }
+.note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
+.summary_signature + .note.title { margin-left: 7px; }
+h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
+.note.title { background: #efefef; }
+.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
+.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
+.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
+.note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
+.note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
+.discussion .note { margin-top: 6px; }
+.discussion .note:first-child { margin-top: 0; }
+
+h3.inherited {
+ font-style: italic;
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
+ font-weight: normal;
+ padding: 0;
+ margin: 0;
+ margin-top: 12px;
+ margin-bottom: 3px;
+ font-size: 13px;
+}
+p.inherited {
+ padding: 0;
+ margin: 0;
+ margin-left: 25px;
+}
+
+.box_info dl {
+ margin: 0;
+ border: 0;
+ width: 100%;
+ font-size: 1em;
+ display: flex;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+}
+.box_info dl dt {
+ flex-shrink: 0;
+ -webkit-flex-shrink: 1;
+ -ms-flex-shrink: 1;
+ width: 100px;
+ text-align: right;
+ font-weight: bold;
+ border: 1px solid #aaa;
+ border-width: 1px 0px 0px 1px;
+ padding: 6px 0;
+ padding-right: 10px;
+}
+.box_info dl dd {
+ flex-grow: 1;
+ -webkit-flex-grow: 1;
+ -ms-flex: 1;
+ max-width: 420px;
+ padding: 6px 0;
+ padding-right: 20px;
+ border: 1px solid #aaa;
+ border-width: 1px 1px 0 0;
+ overflow: hidden;
+ position: relative;
+}
+.box_info dl:last-child > * {
+ border-bottom: 1px solid #aaa;
+}
+.box_info dl:nth-child(odd) > * { background: #eee; }
+.box_info dl:nth-child(even) > * { background: #fff; }
+.box_info dl > * { margin: 0; }
+
+ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
+.index_inline_list { padding-left: 0; font-size: 1.1em; }
+
+.index_inline_list li {
+ list-style: none;
+ display: inline-block;
+ padding: 0 12px;
+ line-height: 30px;
+ margin-bottom: 5px;
+}
+
+dl.constants { margin-left: 10px; }
+dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
+dl.constants.compact dt { display: inline-block; font-weight: normal }
+dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
+dl.constants .docstring .note:first-child { margin-top: 5px; }
+
+.summary_desc {
+ margin-left: 32px;
+ display: block;
+ font-family: sans-serif;
+ font-size: 1.1em;
+ margin-top: 8px;
+ line-height: 1.5145em;
+ margin-bottom: 0.8em;
+}
+.summary_desc tt { font-size: 0.9em; }
+dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
+dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
+dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
+dl.constants .discussion *:first-child { margin-top: 0; }
+dl.constants .discussion *:last-child { margin-bottom: 0; }
+
+.method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
+.method_details.first { border: 0; margin-top: 5px; }
+.method_details.first h3.signature { margin-top: 1em; }
+p.signature, h3.signature {
+ font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
+ padding: 6px 10px; margin-top: 1em;
+ background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
+}
+p.signature tt,
+h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
+p.signature .overload,
+h3.signature .overload { display: block; }
+p.signature .extras,
+h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
+p.signature .not_defined_here,
+h3.signature .not_defined_here,
+p.signature .aliases,
+h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
+p.signature .aliases .names,
+h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
+
+.tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
+.tags .tag_title tt { color: initial; padding: initial; background: initial; }
+.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
+.tags ul li { margin-bottom: 3px; }
+.tags ul .name { font-family: monospace; font-weight: bold; }
+.tags ul .note { padding: 3px 6px; }
+.tags { margin-bottom: 12px; }
+
+.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
+.tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
+.tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
+
+.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
+.tags .overload .overload_item .signature {
+ padding: 2px 8px;
+ background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
+}
+.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
+.tags .overload .docstring { margin-top: 15px; }
+
+.defines { display: none; }
+
+#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
+
+.showSource { font-size: 0.9em; }
+.showSource a, .showSource a:visited { text-decoration: none; color: #666; }
+
+#content a, #content a:visited { text-decoration: none; color: #05a; }
+#content a:hover { background: #ffffa5; }
+
+ul.summary {
+ list-style: none;
+ font-family: monospace;
+ font-size: 1em;
+ line-height: 1.5em;
+ padding-left: 0px;
+}
+ul.summary a, ul.summary a:visited {
+ text-decoration: none; font-size: 1.1em;
+}
+ul.summary li { margin-bottom: 5px; }
+.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
+.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
+.summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
+ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
+ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
+#content .summary_signature:hover a,
+#content .summary_signature:hover a:visited {
+ background: transparent;
+ color: #049;
+}
+
+p.inherited a { font-family: monospace; font-size: 0.9em; }
+p.inherited { word-spacing: 5px; font-size: 1.2em; }
+
+p.children { font-size: 1.2em; }
+p.children a { font-size: 0.9em; }
+p.children strong { font-size: 0.8em; }
+p.children strong.modules { padding-left: 5px; }
+
+ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
+ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
+ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,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) no-repeat top center; }
+ul.fullTree li:first-child { padding-top: 0; background: transparent; }
+ul.fullTree li:last-child { padding-bottom: 0; }
+.showAll ul.fullTree { display: block; }
+.showAll .inheritName { display: none; }
+
+#search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
+#search a {
+ display: block; float: left;
+ padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
+ border: 1px solid #d8d8e5;
+ border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
+ background: #F1F8FF;
+ box-shadow: -1px 1px 3px #ddd;
+}
+#search a:hover { background: #f5faff; color: #06b; fill: #06b; }
+#search a.active {
+ background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
+ border: 1px solid #457;
+ border-top-left-radius: 5px; border-top-right-radius: 5px;
+}
+#search a.inactive { color: #999; fill: #999; }
+.inheritanceTree, .toggleDefines {
+ float: right;
+ border-left: 1px solid #aaa;
+ position: absolute; top: 0; right: 0;
+ height: 100%;
+ background: #f6f6f6;
+ padding: 5px;
+ min-width: 55px;
+ text-align: center;
+}
+
+#menu { font-size: 1.3em; color: #bbb; }
+#menu .title, #menu a { font-size: 0.7em; }
+#menu .title a { font-size: 1em; }
+#menu .title { color: #555; }
+#menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
+#menu a:hover { color: #05a; }
+
+#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
+#footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
+#footer a:hover { color: #05a; }
+
+#listing ul.alpha { font-size: 1.1em; }
+#listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
+#listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
+#listing ul.alpha ul { margin: 0; padding-left: 15px; }
+#listing ul small { color: #666; font-size: 0.7em; }
+
+li.r1 { background: #f0f0f0; }
+li.r2 { background: #fafafa; }
+
+#content ul.summary li.deprecated .summary_signature a,
+#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
+
+#toc {
+ position: relative;
+ float: right;
+ overflow-x: auto;
+ right: -3px;
+ margin-left: 20px;
+ margin-bottom: 20px;
+ padding: 20px; padding-right: 30px;
+ max-width: 300px;
+ z-index: 5000;
+ background: #fefefe;
+ border: 1px solid #ddd;
+ box-shadow: -2px 2px 6px #bbb;
+}
+#toc .title { margin: 0; }
+#toc ol { padding-left: 1.8em; }
+#toc li { font-size: 1.1em; line-height: 1.7em; }
+#toc > ol > li { font-size: 1.1em; font-weight: bold; }
+#toc ol > ol { font-size: 0.9em; }
+#toc ol ol > ol { padding-left: 2.3em; }
+#toc ol + li { margin-top: 0.3em; }
+#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
+#toc.hidden:hover { background: #fafafa; }
+#filecontents h1 + #toc.nofloat { margin-top: 0; }
+@media (max-width: 560px) {
+ #toc {
+ margin-left: 0;
+ margin-top: 16px;
+ float: none;
+ max-width: none;
+ }
+}
+
+/* syntax highlighting */
+.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
+#filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
+#filecontents pre.code, .docstring pre.code { display: block; }
+.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
+#filecontents pre.code, .docstring pre.code,
+.tags pre.example {
+ padding: 9px 14px;
+ margin-top: 4px;
+ border: 1px solid #e1e1e8;
+ background: #f7f7f9;
+ border-radius: 4px;
+ font-size: 1em;
+ overflow-x: auto;
+ line-height: 1.2em;
+}
+pre.code { color: #000; tab-size: 2; }
+pre.code .info.file { color: #555; }
+pre.code .val { color: #036A07; }
+pre.code .tstring_content,
+pre.code .heredoc_beg, pre.code .heredoc_end,
+pre.code .qwords_beg, pre.code .qwords_end, pre.code .qwords_sep,
+pre.code .words_beg, pre.code .words_end, pre.code .words_sep,
+pre.code .qsymbols_beg, pre.code .qsymbols_end, pre.code .qsymbols_sep,
+pre.code .symbols_beg, pre.code .symbols_end, pre.code .symbols_sep,
+pre.code .tstring, pre.code .dstring { color: #036A07; }
+pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
+pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
+pre.code .dot + pre.code .id,
+pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
+pre.code .comment { color: #0066FF; }
+pre.code .const, pre.code .constant { color: #585CF6; }
+pre.code .label,
+pre.code .symbol { color: #C5060B; }
+pre.code .kw,
+pre.code .rubyid_require,
+pre.code .rubyid_extend,
+pre.code .rubyid_include { color: #0000FF; }
+pre.code .ivar { color: #318495; }
+pre.code .gvar,
+pre.code .rubyid_backref,
+pre.code .rubyid_nth_ref { color: #6D79DE; }
+pre.code .regexp, .dregexp { color: #036A07; }
+pre.code a { border-bottom: 1px dotted #bbf; }
+/* inline code */
+*:not(pre) > code {
+ padding: 1px 3px 1px 3px;
+ border: 1px solid #E1E1E8;
+ background: #F7F7F9;
+ border-radius: 4px;
+}
+
+/* Color fix for links */
+#content .summary_desc pre.code .id > .object_link a, /* identifier */
+#content .docstring pre.code .id > .object_link a { color: #0085FF; }
+#content .summary_desc pre.code .const > .object_link a, /* constant */
+#content .docstring pre.code .const > .object_link a { color: #585CF6; }
diff --git a/doc/file.README.html b/doc/file.README.html
new file mode 100644
index 0000000..5360084
--- /dev/null
+++ b/doc/file.README.html
@@ -0,0 +1,252 @@
+
+
+
+
+
+
Readme
+
+
+
+Synopsis
+
+HA Proxy is a very powerful and popular open source load
+balancer to balance incoming requests between multiple instances of web-,
+application- or database servers etc.cd_haproxy automates installation and configuration of
+HA proxy including self-healing, monitoring and firewall etc.WARNING
+
+**__!!! Attention: Never use this puppet module on systems which have
+been previously configured manually. It is impossible to predict how and
+what would have been configured, hence previuos configurations outside the
+scope of this module may be overwritten! Automated configurations require a
+test environment to verify that the module suits the purpose intended by
+the user, as well as tune the parameters, before deploying into live
+production!!! __**Features
+
+
+
+
+
+
+
+Dependencies
+
+
+
+Deployment
+
+
+
+node 'example.example.net' {
+ include cd_haproxy
+}
+
+Parameters
+
+Proxy Configuration
+
+
+
+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',
+ 'network_allowed src 0.0.0.0/0'],
+ backend_name => 'test01-backend',
+ }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
+
+Known Problems
+
+Support
+
+
+Tests
+
+
+
+--no-class_inherits_from_params_class-check:relevant only to
+non-supported outdated puppet versions--no-variable_scope-check: not applicable as we are inheriting
+parameters from params class. the lint check does not distinguish between
+facts and inherited parameters.--no-80chars-check: it is not always possible to stay within
+80 characters, although typically only occurring on the parameter vault
+params.pp.--no-arrow_alignment-check: this check leads to actually not
+having am easily readable arrow alignment, as this checks per
+block, not per class.Contact Us
+
+
+
+Disclaimer
+
+Readme
+
+
+
+Synopsis
+
+HA Proxy is a very powerful and popular open source load
+balancer to balance incoming requests between multiple instances of web-,
+application- or database servers etc.cd_haproxy automates installation and configuration of
+HA proxy including self-healing, monitoring and firewall etc.WARNING
+
+**__!!! Attention: Never use this puppet module on systems which have
+been previously configured manually. It is impossible to predict how and
+what would have been configured, hence previuos configurations outside the
+scope of this module may be overwritten! Automated configurations require a
+test environment to verify that the module suits the purpose intended by
+the user, as well as tune the parameters, before deploying into live
+production!!! __**Features
+
+
+
+
+
+
+
+Dependencies
+
+
+
+Deployment
+
+
+
+node 'example.example.net' {
+ include cd_haproxy
+}
+
+Parameters
+
+Proxy Configuration
+
+
+
+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',
+ 'network_allowed src 0.0.0.0/0'],
+ backend_name => 'test01-backend',
+ }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
+
+Known Problems
+
+Support
+
+
+Tests
+
+
+
+--no-class_inherits_from_params_class-check:relevant only to
+non-supported outdated puppet versions--no-variable_scope-check: not applicable as we are inheriting
+parameters from params class. the lint check does not distinguish between
+facts and inherited parameters.--no-80chars-check: it is not always possible to stay within
+80 characters, although typically only occurring on the parameter vault
+params.pp.--no-arrow_alignment-check: this check leads to actually not
+having am easily readable arrow alignment, as this checks per
+block, not per class.Contact Us
+
+
+
+Disclaimer
+
+');
+ list.html(next.html());
+ list.find('.summary_desc, .note').remove();
+ list.find('a').each(function() {
+ $(this).html($(this).find('strong').html());
+ $(this).parent().html($(this)[0].outerHTML);
+ });
+ next.before(list);
+ next.toggle();
+ }
+ });
+ return false;
+ });
+ if (localStorage.summaryCollapsed == "collapse") {
+ $('.summary_toggle').first().click();
+ } else { localStorage.summaryCollapsed = "expand"; }
+}
+
+function constantSummaryToggle() {
+ $('.constants_summary_toggle').click(function(e) {
+ e.preventDefault();
+ localStorage.summaryCollapsed = $(this).text();
+ $('.constants_summary_toggle').each(function() {
+ $(this).text($(this).text() == "collapse" ? "expand" : "collapse");
+ var next = $(this).parent().parent().nextAll('dl.constants').first();
+ if (next.hasClass('compact')) {
+ next.toggle();
+ next.nextAll('dl.constants').first().toggle();
+ }
+ else if (next.hasClass('constants')) {
+ var list = $('
');
+ list.html(next.html());
+ list.find('dt').each(function() {
+ $(this).addClass('summary_signature');
+ $(this).text( $(this).text().split('=')[0]);
+ if ($(this).has(".deprecated").length) {
+ $(this).addClass('deprecated');
+ };
+ });
+ // Add the value of the constant as "Tooltip" to the summary object
+ list.find('pre.code').each(function() {
+ console.log($(this).parent());
+ var dt_element = $(this).parent().prev();
+ var tooltip = $(this).text();
+ if (dt_element.hasClass("deprecated")) {
+ tooltip = 'Deprecated. ' + tooltip;
+ };
+ dt_element.attr('title', tooltip);
+ });
+ list.find('.docstring, .tags, dd').remove();
+ next.before(list);
+ next.toggle();
+ }
+ });
+ return false;
+ });
+ if (localStorage.summaryCollapsed == "collapse") {
+ $('.constants_summary_toggle').first().click();
+ } else { localStorage.summaryCollapsed = "expand"; }
+}
+
+function generateTOC() {
+ if ($('#filecontents').length === 0) return;
+ var _toc = $('
');
+ var show = false;
+ var toc = _toc;
+ var counter = 0;
+ var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
+ var i;
+ if ($('#filecontents h1').length > 1) tags.unshift('h1');
+ for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
+ var lastTag = parseInt(tags[0][1], 10);
+ $(tags.join(', ')).each(function() {
+ if ($(this).parents('.method_details .docstring').length != 0) return;
+ if (this.id == "filecontents") return;
+ show = true;
+ var thisTag = parseInt(this.tagName[1], 10);
+ if (this.id.length === 0) {
+ var proposedId = $(this).attr('toc-id');
+ if (typeof(proposedId) != "undefined") this.id = proposedId;
+ else {
+ var proposedId = $(this).text().replace(/[^a-z0-9-]/ig, '_');
+ if ($('#' + proposedId).length > 0) { proposedId += counter; counter++; }
+ this.id = proposedId;
+ }
+ }
+ if (thisTag > lastTag) {
+ for (i = 0; i < thisTag - lastTag; i++) {
+ var tmp = $('
'); toc.append(tmp); toc = tmp;
+ }
+ }
+ if (thisTag < lastTag) {
+ for (i = 0; i < lastTag - thisTag; i++) toc = toc.parent();
+ }
+ var title = $(this).attr('toc-title');
+ if (typeof(title) == "undefined") title = $(this).text();
+ toc.append('
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;et ","
"],tr:[2,"","
"],td:[3,"
"],col:[2,"","
"],area:[1,""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i
+
Puppet Class List
+
+
+
+
+
+
+ Puppet Class: cd_haproxy
+
+
+Summary
+ Class initializes the cd_haproxy module.
+
+Overview
+
+
+
+
+
+
+
+
+
+23
+24
+25
+
+
+ # File 'manifests/init.pp', line 23
+
+class cd_haproxy {
+ include cd_haproxy::params
+}
+ Puppet Class: cd_haproxy::firewall::iptables
+
+
+
+
+
+
+Summary
+ manage firewall settings through cd_firewall or puppetlabs-firewall
+
+Overview
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+
+
+ # File 'manifests/firewall/iptables.pp', line 23
+
+class cd_haproxy::firewall::iptables (
+
+) inherits cd_haproxy::params {
+
+ if ($fqdn == $hy_host_fqdn) and ($hy_manage_fw == true) {
+
+ require cd_haproxy::main::files
+
+ firewall { "${hy_fw_order_no}${hy_http_port} tcp port ${hy_http_port}":
+ proto => 'tcp',
+ dport => $hy_http_port,
+ action => 'accept',
+ }
+
+ firewall { "${hy_fw_order_no}${hy_https_port} tcp port ${hy_https_port}":
+ proto => 'tcp',
+ dport => $hy_https_port,
+ action => 'accept',
+ }
+ }
+}
+ Puppet Class: cd_haproxy::main::config
+
+
+
+
+
+
+Summary
+ Class manages all aspects of configuring the module logic for
+cd_haproxy.
+
+Overview
+
+
+
+
+
+
+
+
+
+24
+25
+26
+27
+28
+29
+30
+31
+
+
+ # File 'manifests/main/config.pp', line 24
+
+class cd_haproxy::main::config (
+
+) inherits cd_haproxy::params {
+
+ include cd_haproxy::server::service
+ include cd_haproxy::server::proxy_test
+
+}
+ Puppet Class: cd_haproxy::main::dirs
+
+
+
+
+
+
+Summary
+ Class manages all directories required for cd_haproxy.
+
+Overview
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+
+
+ # File 'manifests/main/dirs.pp', line 23
+
+class cd_haproxy::main::dirs (
+
+) inherits cd_haproxy::params {
+
+ if $fqdn == $hy_host_fqdn {
+ require cd_haproxy::main::user
+
+ # main dir
+ file { $hy_main_dir:
+ ensure => directory,
+ owner => 'root',
+ group => 'root',
+ mode => '0755',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ }
+
+ # errors dir
+ file { $hy_errors_dir:
+ ensure => directory,
+ owner => 'root',
+ group => 'root',
+ mode => '0755',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ }
+ }
+}
+ Puppet Class: cd_haproxy::main::files
+
+
+
+
+
+
+Summary
+ Class manages all configuration files required for cd_haproxy.
+
+Overview
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+
+
+ # File 'manifests/main/files.pp', line 23
+
+class cd_haproxy::main::files (
+
+) inherits cd_haproxy::params {
+
+ if $fqdn == $hy_host_fqdn {
+ require cd_haproxy::main::dirs
+
+ # create the concat target
+ concat {$hy_main_config:
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0640',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ notify => Service[$hy_service],
+ }
+
+ # create the header
+ concat::fragment { 'header':
+ target => $hy_main_config,
+ content => template($hy_config_head_erb),
+ order => '001',
+ }
+
+ # pid file
+ file { $hy_pid:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => haproxy_var_run_t,
+ seluser => system_u,
+ }
+
+ # error files
+ file { $hy_400_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($hy_400_erb),
+ notify => Service[$hy_service],
+ }
+
+ file { $hy_403_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($hy_403_erb),
+ notify => Service[$hy_service],
+ }
+
+ file { $hy_408_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($hy_408_erb),
+ notify => Service[$hy_service],
+ }
+
+ file { $hy_500_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($hy_500_erb),
+ notify => Service[$hy_service],
+ }
+
+ file { $hy_502_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($hy_502_erb),
+ notify => Service[$hy_service],
+ }
+
+ file { $hy_503_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($hy_503_erb),
+ notify => Service[$hy_service],
+ }
+
+ file { $hy_504_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template($hy_504_erb),
+ notify => Service[$hy_service],
+ }
+ }
+}
+ Puppet Class: cd_haproxy::main::install
+
+
+
+
+
+
+Summary
+ Class manage all aspects of installing binaries required for
+cd_haproxy
+
+Overview
+
+
+
+
+
+
+
+
+
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+
+
+ # File 'manifests/main/install.pp', line 24
+
+class cd_haproxy::main::install (
+
+) inherits cd_haproxy::params {
+
+ if $fqdn == $hy_host_fqdn {
+ package {$reqpackages:
+ ensure => $pkg_ensure,
+ }
+ }
+}
+ Puppet Class: cd_haproxy::main::user
+
+
+
+
+
+
+Summary
+ Class manages service users for cd_haproxy.
+
+Overview
+License:
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+
+
+ # File 'manifests/main/user.pp', line 23
+
+class cd_haproxy::main::user (
+
+) inherits cd_haproxy::params {
+
+ if $fqdn == $hy_host_fqdn {
+ require cd_haproxy::main::install
+
+ # manage user
+ user { $hy_user_name:
+ ensure => present,
+ name => $hy_user_name,
+ allowdupe => false,
+ comment => $hy_user_comment,
+ gid => $hy_user_name,
+ managehome => true,
+ home => $hy_user_home,
+ shell => $hy_user_shell,
+ }
+
+ group { $hy_user_name:
+ ensure => present,
+ name => $hy_user_name,
+ allowdupe => false,
+ }
+ }
+}
+ Puppet Class: cd_haproxy::params
+
+
+
+
+
+ cd_haproxy::main::user
+
+ cd_haproxy::main::files
+
+ cd_haproxy::main::config
+
+ cd_haproxy::main::install
+
+ cd_haproxy::server::service
+
+ cd_haproxy::firewall::iptables
+
+ cd_haproxy::server::proxy_test
+
+
+
+Summary
+ Class holds all parameters for the cd_haproxy module and is
+inherited by all classes except defines.
+
+Overview
+
+
+
+
+
+
+
+
+
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+
+
+ # File 'manifests/params.pp', line 74
+
+class cd_haproxy::params (
+
+$pkg_ensure = 'latest',
+$reqpackages = ['haproxy'],
+
+$hy_host_fqdn = "proxy.${::domain}",
+
+# firewall
+$hy_manage_fw = true,
+$hy_fw_order_no = '50',
+
+# main config
+$hy_http_port = '80',
+$hy_https_port = '443',
+$hy_chroot = '/var/lib/haproxy',
+$hy_pid = '/var/run/haproxy.pid',
+$hy_maxconn = '4000',
+$hy_show_stats = true,
+$hy_stats_socket = '/var/lib/haproxy/stats',
+$hy_default_mode = 'http',
+$hy_use_http_server_close = true,
+$hy_use_forward_for = true,
+$hy_use_redispatch = true,
+$hy_max_retries = '3',
+$hy_timeout_http_request = '10s',
+$hy_timeout_queue = '1m',
+$hy_timeout_connect = '10s',
+$hy_timeout_client = '1m',
+$hy_timeout_server = '1m',
+$hy_timeout_http_keep_alive = '10s',
+$hy_timeout_check = '10s',
+
+# user
+$hy_user_name = 'haproxy',
+$hy_user_comment = 'haproxy user',
+$hy_user_home = '/var/lib/haproxy',
+$hy_user_shell = '/sbin/nologin',
+
+# logging
+$hy_log_target = '127.0.0.1',
+$hy_log_facility = 'local2',
+$hy_log_default = 'global',
+$hy_use_httplog = true,
+$hy_use_dontlognull = true,
+
+) {
+
+# service
+$hy_service = 'haproxy'
+
+# directories
+$hy_main_dir = '/etc/haproxy'
+$hy_errors_dir = "${hy_main_dir}/errors"
+
+# files
+$hy_main_config = "${hy_main_dir}/haproxy.cfg"
+$hy_config_head_erb = 'cd_haproxy/haproxy_head.erb'
+$hy_400_file = "${hy_errors_dir}/400.http"
+$hy_400_erb = 'cd_haproxy/errors/400_http.erb'
+$hy_403_file = "${hy_errors_dir}/403.http"
+$hy_403_erb = 'cd_haproxy/errors/403_http.erb'
+$hy_408_file = "${hy_errors_dir}/408.http"
+$hy_408_erb = 'cd_haproxy/errors/408_http.erb'
+$hy_500_file = "${hy_errors_dir}/500.http"
+$hy_500_erb = 'cd_haproxy/errors/500_http.erb'
+$hy_502_file = "${hy_errors_dir}/502.http"
+$hy_502_erb = 'cd_haproxy/errors/502_http.erb'
+$hy_503_file = "${hy_errors_dir}/503.http"
+$hy_503_erb = 'cd_haproxy/errors/503_http.erb'
+$hy_504_file = "${hy_errors_dir}/504.http"
+$hy_504_erb = 'cd_haproxy/errors/504_http.erb'
+
+# includes must be last
+
+ include cd_haproxy::main::config
+
+}
+ Puppet Class: cd_haproxy::server::proxy_test
+
+
+
+
+
+
+Summary
+ Define manages the proxies for cd_haproxy.
+
+Overview
+License:
+
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+
+
+ # File 'manifests/server/proxy_test.pp', line 23
+
+class cd_haproxy::server::proxy_test (
+
+) inherits cd_haproxy::params {
+
+ cd_haproxy::server::proxy { 'testing':
+ haproxy_fqdn => 'pxe703.studydivision.local',
+ frontend_name => 'test01-frontend',
+ frontend_mode => 'http',
+ acl_rule => ['too_fast fe_sess_rate ge 10',
+ 'network_allowed src 0.0.0.0/0'],
+ fe_maxconn => '10000',
+ backend_name => 'test01-backend',
+ be_server_name => ['web01 web01.confdroid.com:80 check',
+ 'web02 web02.confdroid.com:80 check'],
+
+ }
+}
+ Puppet Class: cd_haproxy::server::service
+
+
+
+
+
+
+Summary
+ Class manages the service(s) for cd_haproxy.
+
+Overview
+
+
+
+
+
+
+
+
+
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+
+
+ # File 'manifests/server/service.pp', line 23
+
+class cd_haproxy::server::service (
+
+) inherits cd_haproxy::params {
+
+ if $fqdn == $hy_host_fqdn {
+
+ require cd_haproxy::firewall::iptables
+
+ service { $hy_service:
+ ensure => running,
+ hasstatus => true,
+ hasrestart => true,
+ enable => true,
+ }
+ }
+}
+ Defined Type List
+
+
+
+
+
+
+ Defined Type: cd_haproxy::server::proxy
+
+
+Summary
+ Define manages the proxies for cd_haproxy.
+
+Overview
+License:
+
+
+
+
+
+
+
+
+
+
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+
+
+ # File 'manifests/server/proxy.pp', line 40
+
+define cd_haproxy::server::proxy (
+
+$haproxy_fqdn = undef,
+$frontend_name = undef,
+$frontend_mode = undef,
+$fe_use_backend = '',
+$fe_bind_mode = '*:80',
+$frontend_order = '010',
+$acl_rule = '',
+$acl_order = '020',
+$backend_name = undef,
+$backend_order = '030',
+$fe_maxconn = undef,
+$be_server_name = undef,
+
+
+) {
+
+$hy_main_config = '/etc/haproxy/haproxy.cfg'
+$hy_frontendrule = 'cd_haproxy/haproxy_frontend_rule.erb'
+$hy_backendrule = 'cd_haproxy/haproxy_backend_rule.erb'
+$hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
+
+ # create frontend section
+ concat::fragment { "frontend_${name}":
+ target => $hy_main_config,
+ content => template($hy_frontendrule),
+ order => $frontend_order,
+ }
+
+ # create acl section
+ concat::fragment { "acl_${name}":
+ target => $hy_main_config,
+ content => template($hy_acl_rule),
+ order => $acl_order,
+ }
+
+ # create backend section
+ concat::fragment { "backend_${name}":
+ target => $hy_main_config,
+ content => template($hy_backendrule),
+ order => $backend_order,
+ }
+}
+ Top Level Namespace
+
+
+
+
+WARNING
-**__!!! Attention: Never use this puppet module on systems which have
+Features
diff --git a/doc/index.html b/doc/index.html
index 796df7f..3f9769a 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -77,13 +77,13 @@ application- or database servers etc.
WARNING
-**__!!! Attention: Never use this puppet module on systems which have
+Features
From 55e5ba0b7521bfe3d36eea5b59d32d43b3bc970b Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
-74
-75
-76
-77
78
79
80
@@ -825,10 +820,14 @@ succeed.
147
148
149
-150
+150
+151
+152
+153
+154
-
# File 'manifests/params.pp', line 74
+
# File 'manifests/params.pp', line 78
class cd_haproxy::params (
diff --git a/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html b/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html
index 589e533..7e2353c 100644
--- a/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html
+++ b/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html
@@ -312,12 +312,17 @@ instance configuration.
be_server_name
- (Any)
+ (string)
(defaults to: undef)
+ —
+
-40
41
42
43
@@ -373,10 +377,11 @@ instance configuration.
80
81
82
-83
+83
+84
- # File 'manifests/server/proxy.pp', line 40
+
# File 'manifests/server/proxy.pp', line 41
define cd_haproxy::server::proxy (
From 1e75f3ab9031a2354b3903bfe2a2b0a8cb476e9c Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
Documentation by YARD 0.9.16
+ Documentation by YARD 0.9.26
Alphabetic Index
@@ -126,6 +126,7 @@
Defined Type Listing A-Z
diff --git a/doc/css/style.css b/doc/css/style.css
index 0bf7e2c..eb0dbc8 100644
--- a/doc/css/style.css
+++ b/doc/css/style.css
@@ -52,6 +52,7 @@ body {
background: #fff;
padding: 1.2em;
padding-top: 0.2em;
+ box-sizing: border-box;
}
@media (max-width: 920px) {
@@ -422,8 +423,8 @@ li.r2 { background: #fafafa; }
#toc ol { padding-left: 1.8em; }
#toc li { font-size: 1.1em; line-height: 1.7em; }
#toc > ol > li { font-size: 1.1em; font-weight: bold; }
-#toc ol > ol { font-size: 0.9em; }
-#toc ol ol > ol { padding-left: 2.3em; }
+#toc ol > li > ol { font-size: 0.9em; }
+#toc ol ol > li > ol { padding-left: 2.3em; }
#toc ol + li { margin-top: 0.3em; }
#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
#toc.hidden:hover { background: #fafafa; }
diff --git a/doc/file.README.html b/doc/file.README.html
index 23d4c92..87ce737 100644
--- a/doc/file.README.html
+++ b/doc/file.README.html
@@ -6,15 +6,15 @@
+}
+
node 'example.example.net' {
include cd_haproxy
-}
@@ -170,7 +171,8 @@ addresses the define, like so:
acl_rule => ['too_fast fe_sess_rate ge 10',
'network_allowed src 0.0.0.0/0'],
backend_name => 'test01-backend',
- }
+ }
+
+}
+
node 'example.example.net' {
include cd_haproxy
-}
@@ -170,7 +171,8 @@ addresses the define, like so:
acl_rule => ['too_fast fe_sess_rate ge 10',
'network_allowed src 0.0.0.0/0'],
backend_name => 'test01-backend',
- }
+ }
+
'); toc.append(tmp); toc = tmp;
+ if ( typeof(curli) == "undefined" ) {
+ curli = $('');
+ toc.append(curli);
+ }
+ toc = $('
');
+ curli.append(toc);
+ curli = undefined;
}
}
if (thisTag < lastTag) {
- for (i = 0; i < lastTag - thisTag; i++) toc = toc.parent();
+ for (i = 0; i < lastTag - thisTag; i++) {
+ toc = toc.parent();
+ toc = toc.parent();
+ }
}
var title = $(this).attr('toc-title');
if (typeof(title) == "undefined") title = $(this).text();
- toc.append('
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html b/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html
index a6f2326..42d5cbc 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html
@@ -6,15 +6,15 @@
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html
index 23609df..395a1ce 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html
@@ -6,15 +6,15 @@
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html
index 94fe58b..4180a87 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html
@@ -6,15 +6,15 @@
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html
index 7de5c7d..8ac6ac9 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html
@@ -6,15 +6,15 @@
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html
index bda5caa..c20c5e6 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html
@@ -6,15 +6,15 @@
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html
index d1f0428..ae7ff93 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html
@@ -6,15 +6,15 @@
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Aparams.html b/doc/puppet_classes/cd_haproxy_3A_3Aparams.html
index 5ed033c..f639edd 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Aparams.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Aparams.html
@@ -6,15 +6,15 @@
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 da9afe2..a796569 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
@@ -6,15 +6,15 @@
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..3b7bedc 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html
@@ -6,15 +6,15 @@
diff --git a/doc/puppet_defined_type_list.html b/doc/puppet_defined_type_list.html
index b481508..123fe43 100644
--- a/doc/puppet_defined_type_list.html
+++ b/doc/puppet_defined_type_list.html
@@ -4,9 +4,9 @@
-
+
-
+
diff --git a/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html b/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html
index 7e2353c..ed46e18 100644
--- a/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html
+++ b/doc/puppet_defined_types/cd_haproxy_3A_3Aserver_3A_3Aproxy.html
@@ -6,15 +6,15 @@
diff --git a/doc/top-level-namespace.html b/doc/top-level-namespace.html
index ffe07ca..be302bd 100644
--- a/doc/top-level-namespace.html
+++ b/doc/top-level-namespace.html
@@ -6,15 +6,15 @@
latest or present.
(string)
- (defaults to: "proxy.${::domain}")
+ (defaults to: undef)
—
@@ -835,7 +835,7 @@ class cd_haproxy::params (
$pkg_ensure = 'latest',
$reqpackages = ['haproxy'],
-$hy_host_fqdn = "proxy.${::domain}",
+$hy_host_fqdn = undef,
# firewall
$hy_manage_fw = true,
From 5cbc8ada8eeeed8ba7c924e8cb82115494a501bd Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
diff --git a/doc/puppet_classes/cd_haproxy_3A_3Aparams.html b/doc/puppet_classes/cd_haproxy_3A_3Aparams.html
index b9463a7..c1e26d2 100644
--- a/doc/puppet_classes/cd_haproxy_3A_3Aparams.html
+++ b/doc/puppet_classes/cd_haproxy_3A_3Aparams.html
@@ -81,8 +81,6 @@
cd_haproxy::firewall::iptables# File 'manifests/main/config.pp', line 24
@@ -135,7 +134,6 @@ class cd_haproxy::main::config (
) inherits cd_haproxy::params {
include cd_haproxy::server::service
- include cd_haproxy::server::proxy_test
}
- cd_haproxy::server::proxy_test
-
From cde0ca6bf8160295e0f19d33084602b6334b911c Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid Support
Tests
diff --git a/doc/index.html b/doc/index.html
index 61b07fe..32cc401 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -191,9 +191,9 @@ selinux is disabled, these contexts are ignored.
Support
Tests
From 2002f1e7e5f20c84bb3ab78c53adf71e869f58e7 Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
# File 'manifests/server/proxy.pp', line 41
@@ -392,8 +407,8 @@ $frontend_mode = undef,
$fe_use_backend = '',
$fe_bind_mode = undef,
$frontend_order = '010',
-$acl_rule = '',
-$acl_order = '020',
+$acl_rule_front = '',
+$acl_rule_back = '',
$backend_name = undef,
$backend_order = '030',
$fe_maxconn = undef,
@@ -414,13 +429,6 @@ $hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
order => $frontend_order,
}
- # create acl section
- concat::fragment { "acl_${name}":
- target => $hy_main_config,
- content => template($hy_acl_rule),
- order => $acl_order,
- }
-
# create backend section
concat::fragment { "backend_${name}":
target => $hy_main_config,
From c1c28816a9566995645b7dd8b7757332c93bed78 Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
+77
+78
# File 'manifests/server/proxy.pp', line 41
@@ -427,6 +441,7 @@ $backend_order = '030',
$fe_maxconn = '',
$be_server_name = undef,
$be_balance = '',
+$be_mode = '',
) {
From 072be172c8267dee024a716fb6d00f9c0d7ca29c Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
+78
+79
+80
+81
+82
+83
+84
+85
# File 'manifests/server/proxy.pp', line 41
define cd_haproxy::server::proxy (
-$haproxy_fqdn = undef,
-$frontend_name = undef,
-$frontend_mode = undef,
-$fe_use_backend = '',
-$fe_bind_mode = undef,
-$frontend_order = '010',
-$acl_rule_front = '',
-$acl_rule_back = '',
-$backend_name = undef,
-$backend_order = '030',
-$fe_maxconn = '',
-$be_server_name = undef,
-$be_balance = '',
-$be_mode = '',
+ $haproxy_fqdn = undef,
+ $frontend_name = undef,
+ $frontend_mode = undef,
+ $fe_use_backend = '',
+ $fe_bind_mode = undef,
+ $frontend_order = '010',
+ $acl_rule_front = '',
+ $acl_rule_back = '',
+ $backend_name = '',
+ $backend_order = '030',
+ $fe_maxconn = '',
+ $be_server_name = '',
+ $be_balance = '',
+ $be_mode = '',
) {
-$hy_main_config = '/etc/haproxy/haproxy.cfg'
-$hy_frontendrule = 'cd_haproxy/haproxy_frontend_rule.erb'
-$hy_backendrule = 'cd_haproxy/haproxy_backend_rule.erb'
-$hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
+ $hy_main_config = '/etc/haproxy/haproxy.cfg'
+ $hy_frontendrule = 'cd_haproxy/haproxy_frontend_rule.erb'
+ $hy_backendrule = 'cd_haproxy/haproxy_backend_rule.erb'
+ $hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
+
+
+ # Ensure acl_rule_front and acl_rule_back are arrays
+ $acl_rule_front_array = split($acl_rule_front, '|')
+ $acl_rule_back_array = split($acl_rule_back, '|')
+ $backend_name_array = split($backend_name, '|')
+ $be_server_name_array = split($be_server_name, '|')
# create frontend section
concat::fragment { "frontend_${name}":
From ef659977c7ba8fb1296f75d1814b9e480cd239f6 Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
+85
+86
# File 'manifests/server/proxy.pp', line 41
@@ -449,6 +463,7 @@ define cd_haproxy::server::proxy (
$be_server_name = '',
$be_balance = '',
$be_mode = '',
+ $default_backend = '',
) {