ensure persence of the log directory
[mirror/dsa-puppet.git] / modules / dacs / manifests / init.pp
index c5f46f2..69802ec 100644 (file)
@@ -5,6 +5,13 @@ class dacs {
     }
 
     file {
+        "/var/log/dacs":
+             ensure  => directory,
+             owner   => www-data,
+             group   => root,
+             mode    => 750,
+             purge   => true
+             ;
         "/etc/dacs/federations":
              ensure  => directory,
              owner   => root,
@@ -121,7 +128,7 @@ class dacs {
 
     exec {
         "dacsacl":
-            command     => "dacsacl -sc /etc/dacs/federations/site.conf -c /etc/dacs/federations/debian.org/DEBIAN/dacs.conf -uj DEBIAN && chown root:www-data /etc/dacs/federations/debian.org/DEBIAN/acls/INDEX"
+            command     => "dacsacl -sc /etc/dacs/federations/site.conf -c /etc/dacs/federations/debian.org/DEBIAN/dacs.conf -uj DEBIAN && chown root:www-data /etc/dacs/federations/debian.org/DEBIAN/acls/INDEX",
             refreshonly => true,
     }