module-icinga2/manifests/client.pp
2014-07-05 13:48:48 -07:00

24 lines
954 B
Puppet

# Class: icinga2::client
#
# This subclass manages Icinga client components. This class is just the entry point for Puppet to get at the
# icinga2::client:: subclasses.
#
class icinga2::client (
$nrpe_listen_port = $icinga2::params::nrpe_listen_port,
$nrpe_debug_level = $icinga2::params::nrpe_debug_level,
$nrpe_log_facility = $icinga2::params::nrpe_log_facility,
$nrpe_command_timeout = $icinga2::params::nrpe_command_timeout,
$nrpe_connection_timeout = $icinga2::params::nrpe_connection_timeout,
$nrpe_allowed_hosts = $icinga2::params::nrpe_allowed_hosts
) inherits icinga2::params {
#Apply our classes in the right order. Use the squiggly arrows (~>) to ensure that the
#class left is applied before the class on the right and that it also refreshes the
#class on the right.
class {'icinga2::client::install':} ~>
class {'icinga2::client::config':} ~>
class {'icinga2::client::service':}
}