]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
not my day
authorMartin Zobel-Helas <zobel@debian.org>
Fri, 25 Jan 2013 22:58:03 +0000 (23:58 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 25 Jan 2013 22:58:03 +0000 (23:58 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/varnish/manifests/init.pp

index 036530ab7d3f13841f503e6cb59c7064f9f3524a..ff72fc5f4d1f6f9911e78df1fb7c7b61aa0a4614 100644 (file)
@@ -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'],
         }
 }