blob: 9afcd51ad26a6025ab24b4a0dd3349ca13b026d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class amavis {
package { "amavisd-new":
ensure => installed,
}
service { "amavisd":
ensure => running,
path => "/etc/init.d/amavisd",
subscribe => [Package["amavisd-new"], File["amavisd.conf"]],
}
file { "amavisd.conf":
path => "/etc/amavisd/amavisd.conf",
ensure => present,
owner => root,
group => root,
mode => 644,
require => Package["amavisd-new"],
content => template('amavis/amavisd.conf')
}
}
|