diff options
author | Micah <micah@leap.se> | 2015-09-22 15:04:33 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2015-10-13 10:01:39 -0400 |
commit | d6b521372243b79105a1513d4559572dfab6db54 (patch) | |
tree | c54d7433278c2a5b89ea5e2b47e5332efa79d912 /puppet/modules/clamav/manifests/freshclam.pp | |
parent | b748aeffbdd72d50a7665b9c21c96a9750a840c0 (diff) |
add clamav filtering, with sanesecurity signature updating and provider whitelisting (#3625)
Change-Id: I15985ca00ee95bc62855f098a78e364ebbc32616
Diffstat (limited to 'puppet/modules/clamav/manifests/freshclam.pp')
-rw-r--r-- | puppet/modules/clamav/manifests/freshclam.pp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/puppet/modules/clamav/manifests/freshclam.pp b/puppet/modules/clamav/manifests/freshclam.pp new file mode 100644 index 00000000..b9827ede --- /dev/null +++ b/puppet/modules/clamav/manifests/freshclam.pp @@ -0,0 +1,21 @@ +class clamav::freshclam { + + package { 'clamav-freshclam': ensure => installed } + + service { + 'freshclam': + ensure => running, + enable => true, + name => clamav-freshclam, + pattern => '/usr/bin/freshclam', + hasrestart => true; + } + + file_line { + 'freshclam_notify': + path => '/etc/clamav/freshclam.conf', + line => 'NotifyClamd /etc/clamav/clamd.conf', + notify => Service[freshclam]; + } + +} |