aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-14 22:23:56 +0000
committerMichael Scherer <misc@mageia.org>2012-01-14 22:23:56 +0000
commitbe9e89a6d1f4bb9b877032cafb68c37c1c4390fb (patch)
tree11608d463eed1d95b7c8e176a7b82ea5d2dfc66d
parent0d1c3cc6d039abbcdb94bcd9b97b758e493db9de (diff)
downloadpuppet-be9e89a6d1f4bb9b877032cafb68c37c1c4390fb.tar
puppet-be9e89a6d1f4bb9b877032cafb68c37c1c4390fb.tar.gz
puppet-be9e89a6d1f4bb9b877032cafb68c37c1c4390fb.tar.bz2
puppet-be9e89a6d1f4bb9b877032cafb68c37c1c4390fb.tar.xz
puppet-be9e89a6d1f4bb9b877032cafb68c37c1c4390fb.zip
fix manifests
-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 631e2b33..4becbac5 100644
--- a/modules/amavis/manifests/init.pp
+++ b/modules/amavis/manifests/init.pp
@@ -4,11 +4,12 @@ class amavis {
service { "amavisd":
ensure => running,
path => "/etc/init.d/amavisd",
- subscribe => [Package["amavisd-new"], File["amavisd.conf"]],
+ subscribe => Package["amavisd-new"],
}
file { "/etc/amavisd/amavisd.conf":
require => Package["amavisd-new"],
- content => template('amavis/amavisd.conf')
+ content => template('amavis/amavisd.conf'),
+ notify => Service['amavisd'],
}
}