add function to remove clamav altogether

This commit is contained in:
2026-11-09 12:36:29 +01:00
parent 9792e3c268
commit ebd3f118e8

View File

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