- Description
- Setup - The basics of getting started with clamav
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
The clamav module allows you to manage ClamAV with Puppet.
ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. The clamav module allows you to manage the various daemons and configuration for scanning hosts and updating the scan databases.
- ClamAV
- Freshclam
On CentOS, the clamav packages require the EPEL repository.
General setup:
include ::clamav
By default clamav will manage clamd and freshclam. If you want one or the other, or to tailor the configuration:
class { '::clamav::clamd':
}
class { '::clamav::freshclam':
database_mirror => [
'your.clam.mirror1',
'your.clam.mirror2',
],
}
include ::clamav
---
clamav::freshclam::database_mirror:
- your.clam.mirror1
- your.clam.mirror2
- clamav
- clamav::clamd
- clamav::freshclam
This module has been built on and tested against Puppet 4.3.
Support is currently only for CentOS 7.
Patches welcome!