aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgrey/manifests/init.pp
blob: ebcd97913957d4de058f4e7298bd769a4a2ddb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class postgrey {
    package { postgrey: }
    
    service { 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");
    }
}