summaryrefslogtreecommitdiff
path: root/manifests/spamassassin.pp
blob: 269bf3a03cc8068cc89b211f2545f692b53cf891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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,
    pattern => "spamd",
    require => File['/etc/default/spamassassin'],
  }
}