outsourcing NRPE to cd_nrpe

This commit is contained in:
Arne Teuke
2017-07-28 13:49:05 +01:00
parent 00c977abcf
commit c134c8de34
5 changed files with 435 additions and 116 deletions

View File

@@ -41,15 +41,6 @@ class cd_nagios::main::install (
package {$reqpackages_client:
ensure => $pkg_ensure,
}
# install NRPE if enabled
if $ng_include_nrpe == true {
package {$reqpackages_nrpe:
ensure => $pkg_ensure,
}
}
}
# if we are not the nagios server, install client packages
@@ -62,9 +53,7 @@ class cd_nagios::main::install (
# if we want to use NRPE, install it
if $ng_include_nrpe == true {
package {$reqpackages_nrpe:
ensure => $pkg_ensure,
}
require cd_nrpe
}
}
}