23 lines
578 B
Puppet
23 lines
578 B
Puppet
## confdroid_clamav ::main::install.pp
|
|
# Module name: confdroid_clamav
|
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
|
# @summary Class manage all aspects of installing binaries required for
|
|
# confdroid_clamav
|
|
###############################################################################
|
|
class confdroid_clamav::main::install (
|
|
|
|
) inherits confdroid_clamav::params {
|
|
require confdroid_resources::main::epel
|
|
|
|
if $cv_enable_clamd == true {
|
|
package { 'clamd':
|
|
ensure => $cv_pkg_ensure,
|
|
}
|
|
}
|
|
else {
|
|
package { 'clamd':
|
|
ensure => 'absent',
|
|
}
|
|
}
|
|
}
|