]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Adding a process pattern to spamassassin service
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Feb 2011 17:14:49 +0000 (14:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Feb 2011 17:14:49 +0000 (14:14 -0300)
manifests/spamassassin.pp

index 7301b3faf74e1d7d3b4ddfbbbfcd0180e430ab93..269bf3a03cc8068cc89b211f2545f692b53cf891 100644 (file)
@@ -1,6 +1,6 @@
 class mail::spamassassin {
   file { '/etc/default/spamassassin':
-    ensure  => present,
+    ensure => present,
     owner  => root,
     group  => root,
     mode   => 0644,
@@ -11,6 +11,7 @@ class mail::spamassassin {
   service { 'spamassassin':
     ensure  => running,
     enable  => true,
+    pattern => "spamd",
     require => File['/etc/default/spamassassin'],
   }
 }