clamav: Added clamav::daemon class.
This commit is contained in:
parent
3cf4363186
commit
035fb796de
1 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
#
|
||||
# === Parameters:
|
||||
|
|
Loading…
Add table
Reference in a new issue