lint params

This commit is contained in:
Arne Teuke
2025-03-02 16:28:57 +01:00
parent 7341c24bc9
commit f09b452830
17 changed files with 165 additions and 275 deletions

View File

@@ -1,6 +1,6 @@
# Readme
|`cd_haproxy`| 1.0.3.0 | [![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_haproxy)](https://pipelines.confdroid.com/job/cd_haproxy/)|
[![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=haproxy_cd)](https://pipelines.confdroid.com/job/haproxy_cd/)|
[[_TOC_]]
@@ -8,7 +8,7 @@
`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.
`haproxy_cd` automates installation and configuration of `HA proxy` including self-healing, monitoring and firewall etc.
## WARNING
@@ -29,6 +29,7 @@ CONFIGURATION
* front-end options
* back-end options
* ACL options
* manage fail2ban integration (optional, requires fail2ban_cd module)
SERVICE
@@ -50,13 +51,13 @@ via site.pp or nodes.pp
```bash
node 'example.example.net' {
include cd_haproxy
include haproxy_cd
}
```
* through Foreman:
In order to apply parameters through Foreman, **__cd_haproxy::params__** must be added to the host or host group in question.
In order to apply parameters through Foreman, **__haproxy_cd::params__** must be added to the host or host group in question.
See [more details about class deployment on Confdroid.com](https://confdroid.com/2017/05/deploying-our-puppet-modules/).
@@ -70,7 +71,7 @@ The proxy instances are configured in /etc/haproxy/haproxy.cfg, which is concate
In order to create proxy instances, you will need an external class, which addresses the define, like so:
```bash
cd_haproxy::server::proxy { 'testing':
haproxy_cd::server::proxy { 'testing':
haproxy_fqdn => 'node.example.net',
frontend_name => 'test01-frontend',
frontend_mode => 'http',
@@ -92,8 +93,8 @@ All files and directories are configured with correct selinux context. If selinu
## Support
* OS: CentOS 7, Rocky 9
* Puppet 6
* OS: Rocky 9
* Puppet 8
## Tests
@@ -105,9 +106,6 @@ All files and directories are configured with correct selinux context. If selinu
* `--no-arrow_alignment-check`: this check leads to actually not having am easily readable arrow alignment, as this checks `per block`, not per class.
* Puppet Parser
* ERB Template Parser
* Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files)
* Markdown-lint
* Spellcheck
* Sonar Quality Gate
## Contact Us