Puppet Class: confdroid_nagios::main::install
- Inherits:
- confdroid_nagios::params
- Defined in:
- manifests/main/install.pp
Summary
Class manages installation matters for the confdroid_nagios module.Overview
confdroid_nagios::main::install.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'manifests/main/install.pp', line 6
class confdroid_nagios::main::install (
) inherits confdroid_nagios::params {
require confdroid_resources
if $ng_nagios_server == $fqdn {
# if our FQDN matches the configured Nagios server FQDN, install both server-
# and client packages.We'll need httpd installed
require confdroid_apache
package { $ng_reqpackages_server:
ensure => $ng_pkg_ensure,
}
package { $ng_reqpackages_client:
ensure => $ng_pkg_ensure,
}
if $ng_include_nrpe == true {
require confdroid_nrpe
}
}
}
|