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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2643 by misc, Sun Jan 8 22:24:47 2012 UTC revision 2644 by misc, Mon Mar 19 20:36:15 2012 UTC
# Line 1  Line 1 
1  class spamassassin {  class spamassassin {
2      # it should also requires make, bug fixed in cooker      # it should also requires make, bug fixed in cooker
3      package { "spamassassin-sa-compile":      package { 'spamassassin-sa-compile':
4          notify => Exec["sa-compile"],          notify => Exec['sa-compile'],
5      }      }
6    
7      package { "spamassassin": }      package { 'spamassassin': }
8    
9      file { "/etc/mail/spamassassin/local.cf":      file { '/etc/mail/spamassassin/local.cf':
10          require => Package["spamassassin"],          require => Package['spamassassin'],
11          content => template('spamassassin/local.cf')          content => template('spamassassin/local.cf')
12      }      }
13    
14      exec { "sa-compile":      exec { 'sa-compile':
15          refreshonly => true,          refreshonly => true,
16          require => [Package["spamassassin-sa-compile"],Package["spamassassin"]]          require     => [Package['spamassassin-sa-compile'],Package['spamassassin']]
17      }      }
18  }  }

Legend:
Removed from v.2643  
changed lines
  Added in v.2644

  ViewVC Help
Powered by ViewVC 1.1.28