add function to remove clamav altogether
This commit is contained in:
@@ -9,7 +9,14 @@ class confdroid_clamav::main::install (
|
|||||||
) inherits confdroid_clamav::params {
|
) inherits confdroid_clamav::params {
|
||||||
require confdroid_resources::main::epel
|
require confdroid_resources::main::epel
|
||||||
|
|
||||||
package { $cv_reqpackages:
|
if $cv_enable_clamd == true {
|
||||||
ensure => $cv_pkg_ensure,
|
package { 'clamd':
|
||||||
|
ensure => $cv_pkg_ensure,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
package { 'clamd':
|
||||||
|
ensure => 'absent',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user