/[adm]/puppet/modules/spamassassin/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/spamassassin/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 474 - (show annotations) (download)
Thu Nov 25 17:48:14 2010 UTC (13 years, 5 months ago) by misc
File size: 645 byte(s)
rules compilation requires that the rules are present first
1 class spamassassin {
2 # it should also requires make, bug fixed in cooker
3 package { "spamassassin-sa-compile":
4 ensure => installed,
5 notify => Exec["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 require => Package["spamassassin"],
18 content => template('spamassassin/local.cf')
19 }
20
21 exec { "sa-compile":
22 refreshonly => true,
23 require => [Package["spamassassin-sa-compile"],Package["spamassassin"]]
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.30