Version information
released Mar 15th 2016
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'igromik-clamav', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
igromik/clamav — version 0.1.0 Mar 15th 2016
clamav
Table of Contents
- 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
Description
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.
Setup
What clamav affects
- ClamAV
- Freshclam
Setup Requirements
On CentOS, the clamav packages require the EPEL repository.
Beginning with clamav
General setup:
include ::clamav
Usage
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',
],
}
Configure with hiera
include ::clamav
---
clamav::freshclam::database_mirror:
- your.clam.mirror1
- your.clam.mirror2
Reference
- clamav
- clamav::clamd
- clamav::freshclam
Limitations
This module has been built on and tested against Puppet 4.3.
Support is currently only for CentOS 7.
Development
Patches welcome!
CHANGELOG
0.1.0
- Install clamav (for clamscan) on CentOS-7
0.0.4
- Fix config options that can be specified multiple times
0.0.3
- Fix metadata.json to match puppet guidelines
- Ensure /etc/sysconfig/freshclam is edited after package installation
0.0.2
- Add this changelog
- Cleanup README
0.0.1
- Initial release
Dependencies
- puppetlabs-stdlib (>= 4.0.0 < 5.0.0)
Copyright (c) 2016, Kimo Rosenbaum and contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the module nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.