4 |
service { "amavisd": |
service { "amavisd": |
5 |
ensure => running, |
ensure => running, |
6 |
path => "/etc/init.d/amavisd", |
path => "/etc/init.d/amavisd", |
7 |
subscribe => [Package["amavisd-new"], File["amavisd.conf"]], |
subscribe => Package["amavisd-new"], |
8 |
} |
} |
9 |
|
|
10 |
file { "/etc/amavisd/amavisd.conf": |
file { "/etc/amavisd/amavisd.conf": |
11 |
require => Package["amavisd-new"], |
require => Package["amavisd-new"], |
12 |
content => template('amavis/amavisd.conf') |
content => template('amavis/amavisd.conf'), |
13 |
|
notify => Service['amavisd'], |
14 |
} |
} |
15 |
} |
} |