Recommit for updates in build 196
This commit is contained in:
@@ -218,7 +218,12 @@
|
||||
120
|
||||
121
|
||||
122
|
||||
123</pre>
|
||||
123
|
||||
124
|
||||
125
|
||||
126
|
||||
127
|
||||
128</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/client/target.pp', line 6</span>
|
||||
@@ -231,6 +236,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,
|
||||
|
||||
@@ -123,8 +123,7 @@
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29</pre>
|
||||
28</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 6</span>
|
||||
@@ -142,16 +141,15 @@ 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
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -217,8 +217,7 @@
|
||||
119
|
||||
120
|
||||
121
|
||||
122
|
||||
123</pre>
|
||||
122</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/server/nagios.pp', line 6</span>
|
||||
@@ -227,7 +226,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