aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgrey/manifests/init.pp
blob: 8a2c9c184e843fd6035a8b96994a9606d7ac80bd (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');
    }
}