Compare commits

..

4 Commits

Author SHA1 Message Date
Jenkins Server
1473a2185f Recommit for updates in build 19 2026-11-09 12:38:06 +01:00
Jenkins Server
45439a079a Merge remote-tracking branch 'origin/master' into jenkins-build-19 2026-11-09 12:36:54 +01:00
ebd3f118e8 add function to remove clamav altogether 2026-11-09 12:36:29 +01:00
Jenkins Server
bc43920da9 Recommit for updates in build 18 2026-09-22 15:17:43 +02:00
2 changed files with 26 additions and 5 deletions

View File

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

View File

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