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

    service { "amavisd":
        ensure => running,
        path => "/etc/init.d/amavisd",
        subscribe  => Package["amavisd-new"],
    }

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