not my day
[mirror/dsa-puppet.git] / modules / varnish / manifests / init.pp
index 036530a..ff72fc5 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'],
         }
 }