clamav: Added clamav::daemon class.

This commit is contained in:
Timo Makinen 2014-10-26 09:20:51 +02:00
parent 3cf4363186
commit 035fb796de

View file

@ -21,6 +21,24 @@ class clamav($update="true") {
} }
# Install Clam Antivirus Daemon
#
class clamav::daemon {
require clamav
package { "clamd":
ensure => installed,
}
service { "clamd":
ensure => running,
enable => true,
}
}
# Scan directories periodically # Scan directories periodically
# #
# === Parameters: # === Parameters: