]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/varnish/manifests/init.pp
not my day II
[dsa-puppet.git] / modules / varnish / manifests / init.pp
index 7ce53d289cf8204f0854389fea89c7aab188a6bd..d7da796d4093613c7040b806ffb7a3362184429f 100644 (file)
@@ -15,13 +15,17 @@ class varnish {
         }
 
         file { '/etc/default/varnish':
-               source => 'puppet:///modules/varnish/files/varnish.default',
-                notify =>  Service['varnish'],
+               source  => 'puppet:///modules/varnish/varnish.default',
+               require =>  Package['varnish'],
+                notify  =>  Service['varnish'],
+               mode    => '0444',
         }
 
         file { '/etc/varnish/default.vcl':
-               source => 'puppet:///modules/varnish/files/default.vcl',
-                notify =>  Service['varnish'],
+               source => 'puppet:///modules/varnish/default.vcl',
+               require =>  Package['varnish'],
+               notify =>  Service['varnish'],
+               mode    => '0444',
         }
 }