Forge Home

8,884 downloads

7,331 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Mar 15th 2016
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'igromik-clamav', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add igromik-clamav
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install igromik-clamav --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

igromik/clamav — version 0.1.0 Mar 15th 2016

clamav

Table of Contents

  1. Description
  2. Setup - The basics of getting started with clamav
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. 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!