2025-06-08 12:21:40 +02:00
|
|
|
## clamav_cd::main::service.pp
|
|
|
|
|
# Module name: clamav_cd
|
2019-12-24 23:23:25 +01:00
|
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
2025-06-08 12:29:13 +02:00
|
|
|
# @summary Class manages the service(s) for clamav_cd.
|
2019-12-24 23:23:25 +01:00
|
|
|
#############################################################################
|
2025-06-08 12:21:40 +02:00
|
|
|
class clamav_cd::main::service (
|
2019-12-24 23:23:25 +01:00
|
|
|
|
2025-06-08 12:21:40 +02:00
|
|
|
) inherits clamav_cd::params {
|
|
|
|
|
require clamav_cd::main::files
|
2019-12-24 23:23:25 +01:00
|
|
|
|
2019-12-24 23:58:13 +01:00
|
|
|
# service { $cv_service:
|
2025-05-06 15:08:37 +02:00
|
|
|
# ensure => running,
|
|
|
|
|
# hasstatus => true,
|
|
|
|
|
# hasrestart => true,
|
|
|
|
|
# enable => true,
|
2019-12-24 23:58:13 +01:00
|
|
|
# }
|
2019-12-24 23:23:25 +01:00
|
|
|
}
|