summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-23 14:14:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-02-23 14:14:49 -0300
commit0ecb444458d5a55d426905812ac9cb9bafadd88f (patch)
tree3fbb4a75bcff765071b35668b5dce9491c242a90
parent59a15dfb006b1c773ff7b16167e9a0936498abb0 (diff)
downloadpuppet-mail-0ecb444458d5a55d426905812ac9cb9bafadd88f.tar.gz
puppet-mail-0ecb444458d5a55d426905812ac9cb9bafadd88f.tar.bz2
Adding a process pattern to spamassassin service
-rw-r--r--manifests/spamassassin.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/spamassassin.pp b/manifests/spamassassin.pp
index 7301b3f..269bf3a 100644
--- a/manifests/spamassassin.pp
+++ b/manifests/spamassassin.pp
@@ -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'],
}
}