OP#785 initial commit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## clamav_cd::params.pp
|
||||
# Module name: clamav_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class holds all parameters for the clamav_cd module and is
|
||||
## confdroid_clamav::params.pp
|
||||
# Module name: confdroid_clamav
|
||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||
# @summary Class holds all parameters for the confdroid_clamav module and is
|
||||
# inherited by all classes except defines.
|
||||
# @param [Array] reqpackages List of packages to install.
|
||||
# @param [String] pkg_ensure
|
||||
@@ -36,7 +36,7 @@
|
||||
# @param [Boolean] cv_enable_freshclam whether to enable the freshclam service
|
||||
# @param [Boolean] cv_enable_clamd whether to enable the clamd service
|
||||
##############################################################################
|
||||
class clamav_cd::params (
|
||||
class confdroid_clamav::params (
|
||||
|
||||
# installation
|
||||
Array $reqpackages = ['clamav','clamd','s-nail'],
|
||||
@@ -75,15 +75,15 @@ class clamav_cd::params (
|
||||
|
||||
# files
|
||||
$cv_clamd_config_file = "${cv_config_d_dir}/scan.conf"
|
||||
$cv_clamd_config_erb = 'clamav_cd/scan_conf.erb'
|
||||
$cv_clamd_config_erb = 'confdroid_clamav/scan_conf.erb'
|
||||
$cv_freshclam_file = '/etc/freshclam.conf'
|
||||
$cv_freshclam_erb = 'clamav_cd/freshclam_conf.erb'
|
||||
$cv_freshclam_erb = 'confdroid_clamav/freshclam_conf.erb'
|
||||
$cv_freshclam_svc = '/usr/lib/systemd/system/freshclam.service'
|
||||
$cv_freshclam_svc_erb = 'clamav_cd/freshclam_svc.erb'
|
||||
$cv_freshclam_svc_erb = 'confdroid_clamav/freshclam_svc.erb'
|
||||
$cv_shell_script = "${cv_config_d_dir}/scan.sh"
|
||||
$cv_shell_script_erb = 'clamav_cd/scan.sh.erb'
|
||||
$cv_shell_script_erb = 'confdroid_clamav/scan.sh.erb'
|
||||
|
||||
# includes must be last
|
||||
|
||||
include clamav_cd::main::config
|
||||
include confdroid_clamav::main::config
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user