recommit for updates in build 47

This commit is contained in:
2023-07-23 15:45:33 +02:00
parent 268459f9dc
commit ccec414998

View File

@@ -4529,6 +4529,46 @@ to the Puppet module controlling the particular item.</p>
&mdash; &mdash;
<div class='inline'> <div class='inline'>
<p>the user argument for $user2$</p> <p>the user argument for $user2$</p>
</div>
</li>
<li>
<span class='name'>reqpackages_server</span>
<span class='type'>(<tt>array</tt>)</span>
<em class="default">(defaults to: <tt>[&#39;nagios&#39;,&#39;nagios-devel&#39;]</tt>)</em>
&mdash;
<div class='inline'>
<p>the packages for the server</p>
</div>
</li>
<li>
<span class='name'>reqpackages_client</span>
<span class='type'>(<tt>array</tt>)</span>
<em class="default">(defaults to: <tt>[&#39;net-snmp-utils&#39;,
&#39;nagios-plugins&#39;,
&#39;nagios-plugins-all&#39;,
&#39;nagios-plugins-nrpe&#39;,
&#39;nagios-common&#39;]</tt>)</em>
&mdash;
<div class='inline'>
<p>the packages for the clients</p>
</div> </div>
</li> </li>
@@ -4551,8 +4591,6 @@ to the Puppet module controlling the particular item.</p>
<pre class="lines"> <pre class="lines">
655
656
657 657
658 658
659 659
@@ -4911,14 +4949,10 @@ to the Puppet module controlling the particular item.</p>
1012 1012
1013 1013
1014 1014
1015 1015</pre>
1016
1017
1018
1019</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 655</span> <pre class="code"><span class="info file"># File 'manifests/params.pp', line 657</span>
class cd_nagios::params ( class cd_nagios::params (
@@ -5174,21 +5208,15 @@ $ng_loadctl_options = &#39;jobs_max=100;backoff_limit=10;rampup_change=5
# single nagios checks # single nagios checks
$ng_enable_swap_check = true, $ng_enable_swap_check = true,
# installation
) { $reqpackages_server = [&#39;nagios&#39;,&#39;nagios-devel&#39;],
$reqpackages_client = [&#39;net-snmp-utils&#39;,
# installation section
$reqpackages_server = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ =&gt; [&#39;nagios&#39;,&#39;nagios-devel&#39;]
}
$reqpackages_client = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ =&gt; [&#39;net-snmp-utils&#39;,
&#39;nagios-plugins&#39;, &#39;nagios-plugins&#39;,
&#39;nagios-plugins-all&#39;, &#39;nagios-plugins-all&#39;,
&#39;nagios-plugins-nrpe&#39;, &#39;nagios-plugins-nrpe&#39;,
&#39;nagios-common&#39;] &#39;nagios-common&#39;],
}
) {
# service # service
$ng_service = &#39;nagios&#39; $ng_service = &#39;nagios&#39;