Compare commits

..

1 Commits

Author SHA1 Message Date
Jenkins Server
40254d6468 Recommit for updates in build 14 2026-09-22 14:10:50 +02:00
3 changed files with 6 additions and 27 deletions

View File

@@ -110,14 +110,7 @@ confdroid_clamav
12 12
13 13
14 14
15 15</pre>
16
17
18
19
20
21
22</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 7</span> <pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 7</span>
@@ -127,16 +120,9 @@ class confdroid_clamav::main::install (
) inherits confdroid_clamav::params { ) inherits confdroid_clamav::params {
require confdroid_resources::main::epel require confdroid_resources::main::epel
if $cv_enable_clamd == true { package { $cv_reqpackages:
package { &#39;clamd&#39;:
ensure =&gt; $cv_pkg_ensure, ensure =&gt; $cv_pkg_ensure,
} }
}
else {
package { &#39;clamd&#39;:
ensure =&gt; &#39;absent&#39;,
}
}
}</pre> }</pre>
</td> </td>
</tr> </tr>

View File

@@ -9,14 +9,7 @@ class confdroid_clamav::main::install (
) inherits confdroid_clamav::params { ) inherits confdroid_clamav::params {
require confdroid_resources::main::epel require confdroid_resources::main::epel
if $cv_enable_clamd == true { package { $cv_reqpackages:
package { 'clamd':
ensure => $cv_pkg_ensure, ensure => $cv_pkg_ensure,
} }
} }
else {
package { 'clamd':
ensure => 'absent',
}
}
}

View File

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