summaryrefslogtreecommitdiff
path: root/manifests/amavisd.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-12 21:38:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-12 21:38:41 -0300
commit593c80720d5d9a5fdd4baf3939ed98b7fc091429 (patch)
treef04ba32a1d176686bd2cc195e0072f44b1ba9d07 /manifests/amavisd.pp
parentb06d73986ce2f43094b32e5e804ad36e29490b00 (diff)
downloadpuppet-mail-593c80720d5d9a5fdd4baf3939ed98b7fc091429.tar.gz
puppet-mail-593c80720d5d9a5fdd4baf3939ed98b7fc091429.tar.bz2
Managing 20-debian_defaults from amavis configuration
Diffstat (limited to 'manifests/amavisd.pp')
-rw-r--r--manifests/amavisd.pp11
1 files changed, 10 insertions, 1 deletions
diff --git a/manifests/amavisd.pp b/manifests/amavisd.pp
index 85e2501..8617918 100644
--- a/manifests/amavisd.pp
+++ b/manifests/amavisd.pp
@@ -14,7 +14,16 @@ class mail::amavisd {
owner => root,
group => root,
mode => 0644,
- source => "puppet://$server/modules/mail/amavisd/15-content_filter_mode",
+ source => "puppet:///modules/mail/amavisd/15-content_filter_mode",
+ notify => Service['amavisd'],
+ }
+
+ file { "/etc/amavis/conf.d/20-debian_defaults":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => "puppet:///modules/mail/amavisd/20-debian_defaults",
notify => Service['amavisd'],
}