2025-06-08 12:21:40 +02:00
|
|
|
## clamav_cd::main::dirs.pp
|
|
|
|
|
# Module name: clamav_cd
|
2019-12-24 23:23:25 +01:00
|
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
2025-06-08 12:21:40 +02:00
|
|
|
# @summary Class manages all directories required for clamav_cd.
|
2019-12-24 23:23:25 +01:00
|
|
|
###############################################################################
|
2025-06-08 12:21:40 +02:00
|
|
|
class clamav_cd::main::dirs (
|
2019-12-24 23:23:25 +01:00
|
|
|
|
2025-06-08 12:21:40 +02:00
|
|
|
) inherits clamav_cd::params {
|
|
|
|
|
require clamav_cd::main::install
|
2019-12-24 23:23:25 +01:00
|
|
|
|
2019-12-26 18:32:41 +01:00
|
|
|
# config.d dir
|
|
|
|
|
file { $cv_config_d_dir:
|
2025-05-06 15:08:37 +02:00
|
|
|
ensure => directory,
|
|
|
|
|
owner => 'root',
|
|
|
|
|
group => 'root',
|
|
|
|
|
mode => '0755',
|
|
|
|
|
selrange => s0,
|
|
|
|
|
selrole => object_r,
|
|
|
|
|
seltype => etc_t,
|
|
|
|
|
seluser => system_u,
|
2019-12-26 18:32:41 +01:00
|
|
|
}
|
2019-12-24 23:23:25 +01:00
|
|
|
}
|