blob: 44703b61bfa1cb26de9b0a337818079960f35453 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
class postgrey {
package { postgrey: }
service { postgrey:
ensure => running,
path => "/etc/init.d/postgrey",
subscribe => Package[postgrey],
}
File {
notify => Service[postgrey],
require => Package[postgrey],
}
file {
"/etc/sysconfig/postgrey":
content => template("postgrey/postgrey.sysconfig");
"/etc/postfix/postgrey_whitelist_clients.local":
content => template("postgrey/whitelist_clients.local");
}
}
|