Recommit for updates in build 10

This commit is contained in:
Jenkins Server
2026-02-12 16:55:28 +01:00
parent 05b8e08911
commit e2cefa1a8f

View File

@@ -179,6 +179,114 @@ inherited by all classes except defines.
—
<div class='inline'>
<p>The ensure value for all packages. Default is present.</p>
</div>
</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 name of the Nagios user to be created on the Nagios server. Default is nagios.</p>
</div>
</li>
<li>
<span class='name'>ng_u_comment</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;Nagios User&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>The comment field for the Nagios user. Default is Nagios User.</p>
</div>
</li>
<li>
<span class='name'>ng_u_groups</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 group(s) to which the Nagios user should be added. Default is nagios.</p>
</div>
</li>
<li>
<span class='name'>ng_u_shell</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;/sbin/nologin&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>The login shell for the Nagios user. Default is /sbin/nologin.</p>
</div>
</li>
<li>
<span class='name'>ng_user_home</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;/home/nagios&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>The home directory for the Nagios user. Default is /home/nagios.</p>
</div>
</li>
<li>
<span class='name'>ng_u_uid</span>
<span class='type'>(<tt>Integer</tt>)</span>
<em class="default">(defaults to: <tt>1004</tt>)</em>
&mdash;
<div class='inline'>
<p>The user ID for the Nagios user. Default is 1004.</p>
</div>
</li>
@@ -194,14 +302,6 @@ inherited by all classes except defines.
<pre class="lines">
16
17
18
19
20
21
22
23
24
25
26
@@ -226,10 +326,26 @@ inherited by all classes except defines.
45
46
47
48</pre>
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 16</span>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 24</span>
class confdroid_nagios::params (
@@ -239,6 +355,14 @@ class confdroid_nagios::params (
Array $ng_reqpackages_client = [&#39;net-snmp-utils&#39;,&#39;nagios-plugins&#39;,&#39;nagios-plugins-all&#39;,&#39;nagios-plugins-nrpe&#39;,&#39;nagios-common&#39;],
String $ng_pkg_ensure = &#39;present&#39;,
# user
String $ng_user = &#39;nagios&#39;,
String $ng_u_comment = &#39;Nagios User&#39;,
String $ng_u_groups = &#39;nagios&#39;,
String $ng_u_shell = &#39;/sbin/nologin&#39;,
String $ng_user_home = &#39;/home/nagios&#39;,
Integer $ng_u_uid = 1004,
) {
# Default facts
$fqdn = $facts[&#39;networking&#39;][&#39;fqdn&#39;]