From 8c5e427d328f0f3f02952fcf8d512bb914ca9d6d Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 23 May 2009 00:57:56 +0100 Subject: [PATCH] And restart exim if the perl script changes Signed-off-by: Stephen Gran --- modules/exim/manifests/mx.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/exim/manifests/mx.pp b/modules/exim/manifests/mx.pp index 3eedf11a..42b47839 100644 --- a/modules/exim/manifests/mx.pp +++ b/modules/exim/manifests/mx.pp @@ -11,7 +11,12 @@ class exim::mx inherits exim { "/etc/exim4/exim_surbl.pl": require => Package["exim4-daemon-heavy"], source => [ "puppet:///exim/common/exim_surbl.pl" ] + notify => Exec["exim4 restart"] ; } + exec { "exim4 restart": + path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", + refreshonly => true, + } } -- 2.39.2