From 593c80720d5d9a5fdd4baf3939ed98b7fc091429 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 12 Sep 2010 21:38:41 -0300 Subject: Managing 20-debian_defaults from amavis configuration --- manifests/amavisd.pp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'manifests/amavisd.pp') 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'], } -- cgit v1.2.3