summaryrefslogtreecommitdiff
path: root/manifests/spamassassin.pp
blob: 7301b3faf74e1d7d3b4ddfbbbfcd0180e430ab93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class mail::spamassassin {
  file { '/etc/default/spamassassin':
    ensure  => present,
    owner  => root,
    group  => root,
    mode   => 0644,
    source => "puppet:///modules/mail/spamassassin/default",
    require => Package['spamassassin'],
  }

  service { 'spamassassin':
    ensure  => running,
    enable  => true,
    require => File['/etc/default/spamassassin'],
  }
}