OP#407 initial commit with reset
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
## cd_nagios::main::config.pp
|
||||
# Module name: cd_nagios
|
||||
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
|
||||
# @summary Class manages all aspects of configuring the module logic for
|
||||
# cd_nagios.
|
||||
##############################################################################
|
||||
class cd_nagios::main::config (
|
||||
|
||||
) inherits cd_nagios::params {
|
||||
# manage server configuration
|
||||
|
||||
if $::fqdn == $ng_nagios_server {
|
||||
include cd_nagios::server::service
|
||||
|
||||
if $ng_include_fw == true {
|
||||
include cd_nagios::firewall::iptables
|
||||
}
|
||||
|
||||
if $ng_use_selinux_tools == true {
|
||||
include cd_nagios::selinux::config
|
||||
}
|
||||
|
||||
if $ng_enable_certbot == true {
|
||||
require cd_nagios::certbot::certs
|
||||
}
|
||||
}
|
||||
|
||||
if $::fqdn != $ng_nagios_server {
|
||||
include cd_nagios::client::target
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user