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