]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/varnish/manifests/init.pp
not my day
[dsa-puppet.git] / 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'],
         }
 }