Name: puppet-clamav
Owner: Broad Institute
Description: Puppet Module for managing ClamAV
Forked from: edestecd/puppet-clamav
Created: 2016-06-06 18:46:26.0
Updated: 2016-06-06 18:46:26.0
Pushed: 2017-07-26 18:40:58.0
Homepage: null
Size: 126
Language: Puppet
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Puppet Module to install/configure clamd and freshclam on Debian and RedHat
The clamav module provides some classes to install and configure most of the components of clamav.
You may also choose to manage only the parts that you need.
This module aims to be minimalistic.
No options produces stock config files as provided by your package installer.
This module has the following components that can be managed (or not):
only need to install the module
Minimal clamav package install for command line use:
ude clamav
s { 'clamav':
nage_clamd => true,
nage_freshclam => true,
amd_service_ensure => 'running',
eshclam_service_ensure => 'stopped',
s { 'clamav':
nage_user => true,
d => 499,
d => 499,
ell => '/sbin/nologin',
nage_clamd => true,
nage_freshclam => true,
s { 'clamav':
nage_clamd => true,
nage_freshclam => true,
amd_options => {
'MaxScanSize' => '500M',
'MaxFileSize' => '150M',
eshclam_options => {
'LogTime' => 'yes',
'HTTPProxyServer' => 'myproxy.proxy.com',
'HTTPProxyPort' => '80',
'NotifyClamd' => '/etc/clamd.conf',
'DatabaseMirror' => [
'clam.host1.mydomain.com',
'clam.host2.mydomain.com',
],
s { 'clamav':
nage_repo => false,
amd_options => {
'TCPSocket' => '3310',
'TCPAddr' => '127.0.0.1',
amav_milter_options => {
'AddHeader' => 'add',
'OnInfected' => 'Reject',
'RejectMsg' => 'Message rejected: Infected by %v',
nage_clamd => true,
nage_freshclam => true,
nage_clamav_milter => true,
amd_service_ensure => 'running',
ude clamav
av::manage_clamd: true
av::manage_freshclam: true
av::clamd_options:
xScanSize: 500M
xFileSize: 150M
av::freshclam_options:
gTime: yes
TPProxyServer: myproxy.proxy.com
TPProxyPort: 80
tifyClamd: /etc/clamd.conf
tabaseMirror:
clam.host1.mydomain.com
clam.host2.mydomain.com
This module has been built on and tested against Puppet 3.8 and higher.
While I am sure other versions work, I have not tested them.
This module supports modern RedHat and Debian based systems.
No plans to support other versions (unless you add it :)..
Pull Requests welcome