aboutsummaryrefslogtreecommitdiffstats
path: root/modules/amavis/manifests/init.pp
blob: cab52b9908b2a69b04242deb182e245e7b281f01 (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,
        requires => Package["amavisd-new"],
        content => template('amavis/amavisd.conf')
    }
}