From: Martin Zobel-Helas Date: Fri, 25 Jan 2013 22:58:03 +0000 (+0100) Subject: not my day X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=320758f7417e40be264dab0c3970c185f9ff6a93;hp=82a74e7aaec6920d64bbbe3495e800e4ac0463d9;p=dsa-puppet.git not my day Signed-off-by: Martin Zobel-Helas --- diff --git a/modules/varnish/manifests/init.pp b/modules/varnish/manifests/init.pp index 036530ab..ff72fc5f 100644 --- a/modules/varnish/manifests/init.pp +++ b/modules/varnish/manifests/init.pp @@ -16,12 +16,12 @@ class varnish { file { '/etc/default/varnish': source => 'puppet:///modules/varnish/files/varnish.default', - notify => Exec['varnish restart'], + notify => Service['varnish'], } file { '/etc/varnish/default.vcl': source => 'puppet:///modules/varnish/files/default.vcl', - notify => Exec['varnish restart'], + notify => Service['varnish'], } }