Recommit for updates in build 111

This commit is contained in:
Jenkins Server
2026-03-01 18:33:44 +01:00
parent 420e165935
commit 1d06a8e826
2 changed files with 375 additions and 5 deletions

View File

@@ -937,6 +937,24 @@ inherited by all classes except defines.
</li>
<li>
<span class='name'>ng_user</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;nagios&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>The user to run the Nagios service as. Default is nagios.</p>
</div>
</li>
<li>
<span class='name'>ng_contactgroup_members</span>
@@ -961,8 +979,6 @@ inherited by all classes except defines.
<pre class="lines">
101
102
103
104
105
@@ -1130,10 +1146,14 @@ inherited by all classes except defines.
267
268
269
270</pre>
270
271
272
273
274</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 101</span>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 103</span>
class confdroid_nagios::params (
@@ -1148,6 +1168,7 @@ class confdroid_nagios::params (
String $ng_max_check_attempts = &#39;10&#39;,
String $ng_status_upd_interval = &#39;10&#39;,
String $ng_check_ext_commands = &#39;1&#39;,
String $ng_user = &#39;nagios&#39;,
# contact groups
String $ng_contactgroup_name = &#39;admins&#39;,
@@ -1211,6 +1232,7 @@ class confdroid_nagios::params (
) {
# Default facts
$fqdn = $facts[&#39;networking&#39;][&#39;fqdn&#39;]
$hostname = $facts[&#39;networking&#39;][&#39;hostname&#39;]
$domain = $facts[&#39;networking&#39;][&#39;domain&#39;]
$os_name = $facts[&#39;os&#39;][&#39;name&#39;]
$os_release = $facts[&#39;os&#39;][&#39;release&#39;][&#39;major&#39;]