aboutsummaryrefslogtreecommitdiffstats
path: root/modules/amavis
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-25 17:48:10 +0000
committerMichael Scherer <misc@mageia.org>2010-11-25 17:48:10 +0000
commita846f2814adc95f0ca2ef4ab98c6fbc57badc4b6 (patch)
tree8c34883d963751a814c5e10730737bc43383931c /modules/amavis
parent347cc3a018037558007b222de2fa73a86f435f49 (diff)
downloadpuppet-a846f2814adc95f0ca2ef4ab98c6fbc57badc4b6.tar
puppet-a846f2814adc95f0ca2ef4ab98c6fbc57badc4b6.tar.gz
puppet-a846f2814adc95f0ca2ef4ab98c6fbc57badc4b6.tar.bz2
puppet-a846f2814adc95f0ca2ef4ab98c6fbc57badc4b6.tar.xz
puppet-a846f2814adc95f0ca2ef4ab98c6fbc57badc4b6.zip
restart amavis on configuration file change
Diffstat (limited to 'modules/amavis')
-rw-r--r--modules/amavis/manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/amavis/manifests/init.pp b/modules/amavis/manifests/init.pp
index 610fce37..9afcd51a 100644
--- a/modules/amavis/manifests/init.pp
+++ b/modules/amavis/manifests/init.pp
@@ -7,10 +7,11 @@ class amavis {
service { "amavisd":
ensure => running,
path => "/etc/init.d/amavisd",
- subscribe => Package["amavisd-new"],
+ subscribe => [Package["amavisd-new"], File["amavisd.conf"]],
}
- file { "/etc/amavisd/amavisd.conf":
+ file { "amavisd.conf":
+ path => "/etc/amavisd/amavisd.conf",
ensure => present,
owner => root,
group => root,