]> 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 f5202cee77fe6c7b19c27a4614c80a366ce83031..ff72fc5f4d1f6f9911e78df1fb7c7b61aa0a4614 100644 (file)
@@ -15,13 +15,13 @@ class varnish {
         }
 
         file { '/etc/default/varnish':
-               source => 'puppet:///modules/varnish/files/varnish.default'
-                notify  => Exec['varnish restart'],
+               source => 'puppet:///modules/varnish/files/varnish.default',
+                notify =>  Service['varnish'],
         }
 
         file { '/etc/varnish/default.vcl':
-               source => 'puppet:///modules/varnish/files/default.vcl'
-                notify  => Exec['varnish restart'],
+               source => 'puppet:///modules/varnish/files/default.vcl',
+                notify =>  Service['varnish'],
         }
 }