2026-02-10 14:04:06 +01:00
|
|
|
## confdroid_nagios::server::service.pp
|
|
|
|
|
# Module name: confdroid_nagios
|
|
|
|
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
2026-02-13 19:29:23 +01:00
|
|
|
# @summary Class manages services for the confdroid_nagios module.
|
2026-02-10 14:04:06 +01:00
|
|
|
###############################################################################
|
|
|
|
|
class confdroid_nagios::server::service (
|
|
|
|
|
|
|
|
|
|
) inherits confdroid_nagios::params {
|
2026-02-13 14:57:03 +01:00
|
|
|
require confdroid_nagios::server::files
|
2026-02-14 19:40:30 +01:00
|
|
|
# if $ng_nagios_server == $fqdn {
|
|
|
|
|
# service { $ng_nagios_service:
|
|
|
|
|
# ensure => running,
|
|
|
|
|
# name => $ng_nagios_service,
|
|
|
|
|
# enable => true,
|
|
|
|
|
# hasrestart => true,
|
|
|
|
|
# hasstatus => true,
|
|
|
|
|
# }
|
|
|
|
|
# }
|
2026-02-10 14:04:06 +01:00
|
|
|
}
|