add EPEL resource

This commit is contained in:
Arne Teuke
2025-06-08 12:21:40 +02:00
parent be07493da0
commit 2c5ae3f4ed
7 changed files with 43 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
## cd_clamav::params.pp
# Module name: cd_clamav
## clamav_cd::params.pp
# Module name: clamav_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class holds all parameters for the cd_clamav module and is
# @summary Class holds all parameters for the clamav_cd module and is
# inherited by all classes except defines.
# @param [String] reqpackages List of packages to install.
# @param [String] pkg_ensure
@@ -26,7 +26,7 @@
# @param [String] cv_preludeanalyzername name of the analyzer used by
# prelude-admin.
##############################################################################
class cd_clamav::params (
class clamav_cd::params (
# installation
String $reqpackages = ['clamav','clamav-update','clamd'],
@@ -54,11 +54,11 @@ class cd_clamav::params (
# files
$cv_clamd_config_file = "${cv_config_d_dir}/scan.conf"
$cv_clamd_config_erb = 'cd_clamav/scan_conf.erb'
$cv_clamd_config_erb = 'clamav_cd/scan_conf.erb'
$cv_freshclam_file = '/etc/freshclam.conf'
$cv_freshclam_erb = 'cd_clamav/freshclam_conf.erb'
$cv_freshclam_erb = 'clamav_cd/freshclam_conf.erb'
# includes must be last
include cd_clamav::main::config
include clamav_cd::main::config
}