Create srv/static.d.o on mirrors
[mirror/dsa-puppet.git] / modules / roles / manifests / static_mirror.pp
index 9b10b10..ca9fea4 100644 (file)
@@ -1,4 +1,4 @@
-class roles::static_mirror inherits roles::mirror_base {
+class roles::static_mirror inherits roles::static_base {
     file {
         '/etc/ssh/userkeys/staticsync':
             content => template('roles/static-mirror-authorized_keys.erb'),
@@ -14,6 +14,12 @@ class roles::static_mirror inherits roles::mirror_base {
     }
 
     file {
+        "/srv/static.debian.org":
+            ensure  => directory,
+            owner   => staticsync,
+            group   => staticsync,
+            mode    => '02755'
+            ;
         "/etc/cron.d/puppet-static-mirror":
             content => "PATH=/usr/local/bin:/usr/bin:/bin\n@reboot staticsync sleep 60; static-mirror-run --one-stage /srv/static.debian.org bizet.debian.org:-live- > /dev/null\n",
             ;