OP#436 clean up target
This commit is contained in:
@@ -7,10 +7,6 @@ class confdroid_nagios::client::target (
|
|||||||
|
|
||||||
) inherits confdroid_nagios::params {
|
) inherits confdroid_nagios::params {
|
||||||
if ($ng_nagios_server == $fqdn) and ($ng_enable_target == true) {
|
if ($ng_nagios_server == $fqdn) and ($ng_enable_target == true) {
|
||||||
if $ng_include_nrpe == true {
|
|
||||||
require confdroid_nrpe
|
|
||||||
}
|
|
||||||
|
|
||||||
@@nagios_host { $fqdn:
|
@@nagios_host { $fqdn:
|
||||||
ensure => $ng_ping_ensure,
|
ensure => $ng_ping_ensure,
|
||||||
alias => $hostname,
|
alias => $hostname,
|
||||||
|
|||||||
Reference in New Issue
Block a user