Compare commits

..

14 Commits

Author SHA1 Message Date
Jenkins Server
d8143691dd Recommit for updates in build 18 2026-09-22 15:17:48 +02:00
Jenkins Server
4356c549db Merge remote-tracking branch 'origin/master' into jenkins-build-18 2026-09-22 15:16:53 +02:00
9792e3c268 OP#785 revert 2026-09-22 15:16:36 +02:00
Jenkins Server
170e087a3c Recommit for updates in build 17 2026-09-22 15:03:41 +02:00
Jenkins Server
e65c98a16e Merge remote-tracking branch 'origin/master' into jenkins-build-17 2026-09-22 15:03:02 +02:00
5e3dcbbd1b OP#785 temp disable service file control 2026-09-22 15:02:45 +02:00
Jenkins Server
ec9f3674f2 Merge remote-tracking branch 'origin/master' into jenkins-build-16 2026-09-22 14:59:32 +02:00
ab50ce82f2 OP#785 switch MemoryLimit to MemoryMax 2026-09-22 14:59:17 +02:00
Jenkins Server
bda2cfda73 Merge remote-tracking branch 'origin/master' into jenkins-build-15 2026-09-22 14:31:17 +02:00
dfb9601a5d OP#785 switch MemoryLimit to MemoryMax 2026-09-22 14:30:56 +02:00
Jenkins Server
3e0ccc94d0 Recommit for updates in build 14 2026-09-22 14:10:46 +02:00
Jenkins Server
ca315d9f4e Merge remote-tracking branch 'origin/master' into jenkins-build-14 2026-09-22 14:10:06 +02:00
dfd2cba657 OP#785 add variables for clamd service limits 2026-09-22 14:00:02 +02:00
Jenkins Server
63540d9d22 Recommit for updates in build 12 2026-09-22 13:55:53 +02:00
10 changed files with 43 additions and 11 deletions

View File

@@ -98,6 +98,11 @@
</li>
<li>
<span class='object_link'><a href="puppet_classes/confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span>
</li>
</ul>
</ul>

View File

@@ -78,6 +78,13 @@
</li>
<li id="object_puppet_classes::confdroid_clamav::params" class="odd">
<div class="item">
<span class='object_link'><a href="puppet_classes/confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span>
</div>
</li>
</ul>
</div>

View File

@@ -64,7 +64,7 @@
<dl>
<dt>Inherits:</dt>
<dd>confdroid_clamav::params</dd>
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
</dl>

View File

@@ -64,7 +64,7 @@
<dl>
<dt>Inherits:</dt>
<dd>confdroid_clamav::params</dd>
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
</dl>

View File

@@ -64,7 +64,7 @@
<dl>
<dt>Inherits:</dt>
<dd>confdroid_clamav::params</dd>
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
</dl>

View File

@@ -64,7 +64,7 @@
<dl>
<dt>Inherits:</dt>
<dd>confdroid_clamav::params</dd>
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
</dl>

View File

@@ -64,7 +64,7 @@
<dl>
<dt>Inherits:</dt>
<dd>confdroid_clamav::params</dd>
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
</dl>

View File

@@ -607,6 +607,24 @@ inherited by all classes except defines.
&mdash;
<div class='inline'>
<p>nice value for clamd. This is a number between -20 and 19. The lower the number, the higher the priority. The default is 19, which is the lowest priority.</p>
</div>
</li>
<li>
<span class='name'>cv_timeout_start_sec</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;420&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>timeout for starting the clamd service.</p>
</div>
</li>
@@ -622,7 +640,6 @@ inherited by all classes except defines.
<pre class="lines">
49
50
51
52
@@ -679,10 +696,12 @@ inherited by all classes except defines.
103
104
105
106</pre>
106
107
108</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 49</span>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 50</span>
class confdroid_clamav::params (
@@ -716,7 +735,8 @@ class confdroid_clamav::params (
String $cv_concurrentdatabasereload = &#39;no&#39;,
String $cv_clamd_max_mem = &#39;512M&#39;,
String $cv_clamd_cpu_quota = &#39;30%&#39;,
String $cv_nice_value = &#39;19&#39;
String $cv_nice_value = &#39;19&#39;,
String $cv_timeout_start_sec = &#39;420&#39;
) {
# service

View File

@@ -79,7 +79,7 @@ class confdroid_clamav::params (
String $cv_concurrentdatabasereload = 'no',
String $cv_clamd_max_mem = '512M',
String $cv_clamd_cpu_quota = '30%',
String $cv_nice_value = '19'
String $cv_nice_value = '19',
String $cv_timeout_start_sec = '420'
) {

View File

@@ -14,7 +14,7 @@ ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
ExecReload=/bin/kill -USR2 $MAINPID
Restart = on-failure
TimeoutStartSec=<%= @cv_timeout_start_sec %>
MemoryLimit=<%= @cv_clamd_max_mem %>
MemoryMax=<%= @cv_clamd_max_mem %>
CPUQuota=<%= @cv_clamd_cpu_quota %>
Nice=<%= @cv_nice_value %>