blob: 33ae0e3545b48326fd6c879d54aa0d4e8ad09f79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
class mail::clamav {
group { 'clamav':
ensure => present,
}
user { 'clamav':
ensure => present,
gid => 'clamav',
groups => [ 'amavis' ],
require => Group['clamav', 'amavis'],
}
service { "clamav-daemon":
enable => true,
ensure => running,
pattern => "/usr/sbin/clamd",
}
service { "clamav-freshclam":
enable => true,
ensure => running,
pattern => "/usr/bin/freshclam",
}
}
|