From: Martin Zobel-Helas <zobel@debian.org>
Date: Fri, 25 Jan 2013 22:53:08 +0000 (+0100)
Subject: do a restart
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=413f3f84b3b864e6eb48996d7ecbc7ae941e388b;p=dsa-puppet.git

do a restart
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
---

diff --git a/modules/varnish/manifests/init.pp b/modules/varnish/manifests/init.pp
index b134c8ed..f5202cee 100644
--- a/modules/varnish/manifests/init.pp
+++ b/modules/varnish/manifests/init.pp
@@ -1,7 +1,7 @@
 class varnish {
 
         package { 'varnish':
-                ensure => installed
+                ensure => installed,
         }
 
         service { 'varnish':
@@ -16,12 +16,12 @@ class varnish {
 
         file { '/etc/default/varnish':
 		source => 'puppet:///modules/varnish/files/varnish.default'
-                notify  => Service['varnish'],
+                notify  => Exec['varnish restart'],
         }
 
         file { '/etc/varnish/default.vcl':
 		source => 'puppet:///modules/varnish/files/default.vcl'
-                notify  => Service['varnish'],
+                notify  => Exec['varnish restart'],
         }
 }