aboutsummaryrefslogtreecommitdiffstats
path: root/modules/amavis/manifests/init.pp
blob: eac8d7c016ce0c1971999bbc6453bedea26cf128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class amavis {

    package { "amavisd-new":
        ensure => installed, 
    }

    service { "amavisd":
        ensure => running,
        path => "/etc/init.d/amavisd",
    }

    file { "/etc/amavisd/amavisd.conf":
        ensure => present,
        owner => root,
        group => root,
        mode => 644,
        require => Package["amavisd-new"],
        content => template('amavis/amavisd.conf')
    }
}