outsourcing NRPE to cd_nrpe
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user