blob: 067ff00be1c0b4006a0796efbba4dc1009489bfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
class spamassassin {
# it should also requires make, bug fixed in cooker
package { "spamassassin-sa-compile":
ensure => installed,
notify => Exec["sa-compile"],
}
package { "spamassassin":
ensure => installed,
}
file { "/etc/mail/spamassassin/local.cf":
ensure => present,
owner => root,
group => root,
mode => 644,
require => Package["spamassassin"],
content => template('spamassassin/local.cf')
}
exec { "sa-compile":
refreshonly => true,
require => Package["spamassassin-sa-compile"],
}
}
|