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,14 +1,14 @@
## cd_haproxy::main::files.pp
# Module name: cd_haproxy
## haproxy_cd::main::files.pp
# Module name: haproxy_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class manages all configuration files required for cd_haproxy.
# @summary Class manages all configuration files required for haproxy_cd.
##############################################################################
class cd_haproxy::main::files (
class haproxy_cd::main::files (
) inherits cd_haproxy::params {
) inherits haproxy_cd::params {
if $fqdn == $hy_host_fqdn {
require cd_haproxy::main::dirs
require haproxy_cd::main::dirs
# create the concat target
concat {$hy_main_config:
@@ -154,7 +154,7 @@ class cd_haproxy::main::files (
selrole => object_r,
seltype => syslog_conf_t,
seluser => system_u,
content => template('cd_haproxy/rsyslog/10_haproxy.conf.erb'),
content => template('haproxy_cd/rsyslog/10_haproxy.conf.erb'),
# notify => Service['rsyslog'], # only if using cd_rsyslog
}
}