OP#669 initial commit with new autolayout
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
## haproxy_cd::main::config.pp
|
||||
# Module name: haproxy_cd
|
||||
## confdroid_haproxy::main::config.pp
|
||||
# Module name: confdroid_haproxy
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages module logic for haproxy_cd.
|
||||
# @summary Class manages module logic for confdroid_haproxy.
|
||||
##############################################################################
|
||||
class haproxy_cd::main::config (
|
||||
class confdroid_haproxy::main::config (
|
||||
|
||||
) inherits haproxy_cd::params {
|
||||
include haproxy_cd::server::service
|
||||
) inherits confdroid_haproxy::params {
|
||||
include confdroid_haproxy::server::service
|
||||
|
||||
if $hy_manage_fail2ban == true {
|
||||
include haproxy_cd::monitoring::fail2ban
|
||||
include confdroid_haproxy::monitoring::fail2ban
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
## haproxy_cd::main::dirs.pp
|
||||
# Module name: haproxy_cd
|
||||
## confdroid_haproxy::main::dirs.pp
|
||||
# Module name: confdroid_haproxy
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages all directories required for haproxy_cd.
|
||||
# @summary Class manages all directories required for confdroid_haproxy.
|
||||
###############################################################################
|
||||
class haproxy_cd::main::dirs (
|
||||
class confdroid_haproxy::main::dirs (
|
||||
|
||||
) inherits haproxy_cd::params {
|
||||
) inherits confdroid_haproxy::params {
|
||||
if $fqdn == $hy_host_fqdn {
|
||||
require haproxy_cd::main::user
|
||||
require confdroid_haproxy::main::user
|
||||
|
||||
# main dir
|
||||
file { $hy_main_dir:
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
## haproxy_cd::main::files.pp
|
||||
# Module name: haproxy_cd
|
||||
## confdroid_haproxy::main::files.pp
|
||||
# Module name: confdroid_haproxy
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages all configuration files required for haproxy_cd.
|
||||
# @summary Class manages all configuration files required for confdroid_haproxy.
|
||||
##############################################################################
|
||||
class haproxy_cd::main::files (
|
||||
class confdroid_haproxy::main::files (
|
||||
|
||||
) inherits haproxy_cd::params {
|
||||
) inherits confdroid_haproxy::params {
|
||||
if $fqdn == $hy_host_fqdn {
|
||||
require haproxy_cd::main::dirs
|
||||
require confdroid_haproxy::main::dirs
|
||||
|
||||
# create the concat target
|
||||
concat { $hy_main_config:
|
||||
@@ -151,7 +151,7 @@ class haproxy_cd::main::files (
|
||||
selrole => object_r,
|
||||
seltype => syslog_conf_t,
|
||||
seluser => system_u,
|
||||
content => template('haproxy_cd/rsyslog/10_haproxy.conf.erb'),
|
||||
content => template('confdroid_haproxy/rsyslog/10_haproxy.conf.erb'),
|
||||
# notify => Service['rsyslog'], # only if using rsyslog_cd module
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
## haproxy_cd::main::install.pp
|
||||
# Module name: haproxy_cd
|
||||
## confdroid_haproxy::main::install.pp
|
||||
# Module name: confdroid_haproxy
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class installs binaries required for haproxy_cd
|
||||
# @summary Class installs binaries required for confdroid_haproxy
|
||||
###############################################################################
|
||||
class haproxy_cd::main::install (
|
||||
class confdroid_haproxy::main::install (
|
||||
|
||||
) inherits haproxy_cd::params {
|
||||
) inherits confdroid_haproxy::params {
|
||||
if $fqdn == $hy_host_fqdn {
|
||||
package { $reqpackages:
|
||||
ensure => $pkg_ensure,
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
## haproxy_cd::main::user.pp
|
||||
# Module name: haproxy_cd
|
||||
## confdroid_haproxy::main::user.pp
|
||||
# Module name: confdroid_haproxy
|
||||
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
|
||||
# @summary Class manages service users for haproxy_cd.
|
||||
# @summary Class manages service users for confdroid_haproxy.
|
||||
#############################################################################
|
||||
class haproxy_cd::main::user (
|
||||
class confdroid_haproxy::main::user (
|
||||
|
||||
) inherits haproxy_cd::params {
|
||||
) inherits confdroid_haproxy::params {
|
||||
if $fqdn == $hy_host_fqdn {
|
||||
require haproxy_cd::main::install
|
||||
require confdroid_haproxy::main::install
|
||||
|
||||
# manage user
|
||||
user { $hy_user_name:
|
||||
|
||||
Reference in New Issue
Block a user