Files
confdroid_nagios/manifests/params.pp
2026-02-10 14:04:06 +01:00

26 lines
923 B
Puppet

## confdroid_nagios::params.pp
# Module name: confdroid_nagios
# Author: 12ww1160 (12ww1160@confdroid.com)
# @summary Class holds all parameters for the confdroid_nagios module and is
# inherited by all classes except defines.
# @param [String] ng_nagios_server The hostname or IP address of the
# Nagios server. This will determine the installation selection and the
# of the clients to connect to the Nagios server.
###############################################################################
class confdroid_nagios::params (
# main
String $ng_nagios_server = 'nagios.example.net',
) {
# Default facts
$fqdn = $facts['networking']['fqdn']
$domain = $facts['networking']['domain']
$os_name = $facts['os']['name']
$os_release = $facts['os']['release']['major']
# includes must be last
include confdroid_nagios::main::config
}