Parent Directory | Revision Log
add filter compilation as this can reduce the load on server
1 | class spamassassin { |
2 | |
3 | package { "spamassassin-sa-compile": |
4 | ensure => installed, |
5 | notify => "sa-compile", |
6 | } |
7 | |
8 | package { "spamassassin": |
9 | ensure => installed, |
10 | } |
11 | |
12 | file { "/etc/mail/spamassassin/local.cf": |
13 | ensure => present, |
14 | owner => root, |
15 | group => root, |
16 | mode => 644, |
17 | requires => Package["spamassassin"], |
18 | content => template('spamassassin/local.cf') |
19 | } |
20 | |
21 | exec { "sa-compile": |
22 | refreshonly => true, |
23 | } |
24 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |