OP#436 mv client installs
This commit is contained in:
@@ -11,6 +11,11 @@ class confdroid_nagios::client::target (
|
||||
ensure => $ng_pkg_ensure,
|
||||
}
|
||||
|
||||
# if we want to use NRPE on clients, install it
|
||||
if $ng_include_nrpe == true {
|
||||
require confdroid_nrpe
|
||||
}
|
||||
|
||||
@@nagios_host { $fqdn:
|
||||
ensure => $ng_ping_ensure,
|
||||
alias => $hostname,
|
||||
|
||||
@@ -16,14 +16,13 @@ class confdroid_nagios::main::install (
|
||||
package { $ng_reqpackages_server:
|
||||
ensure => $ng_pkg_ensure,
|
||||
}
|
||||
}
|
||||
|
||||
package { $ng_reqpackages_client:
|
||||
ensure => $ng_pkg_ensure,
|
||||
}
|
||||
|
||||
# if we want to use NRPE on clients, install it
|
||||
if $ng_include_nrpe == true {
|
||||
require confdroid_nrpe
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ class confdroid_nagios::server::nagios (
|
||||
|
||||
) inherits confdroid_nagios::params {
|
||||
if $ng_nagios_server == $fqdn {
|
||||
|
||||
@@nagios_service { 'check_nagios_localhost':
|
||||
check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
|
||||
use => 'generic-service',
|
||||
|
||||
Reference in New Issue
Block a user