aboutsummaryrefslogtreecommitdiffstats
path: root/modules/amavis/manifests/init.pp
blob: 57af5bd92021fa07f779a2521a612f3b6aacf6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class amavis {
    package { 'amavisd-new': }

    service { 'amavisd':
        subscribe => Package['amavisd-new'],
    }

    file { '/etc/amavisd/amavisd.conf':
        require => Package['amavisd-new'],
        content => template('amavis/amavisd.conf'),
        notify  => Service['amavisd'],
    }
}