and indexes on alioth-archive
authorPeter Palfrader <peter@palfrader.org>
Thu, 26 Apr 2018 18:51:10 +0000 (20:51 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 26 Apr 2018 18:51:10 +0000 (20:51 +0200)
modules/roles/manifests/alioth_archive.pp
modules/roles/templates/apache-alioth-archive.debian.org.erb

index b2fe305..9188789 100644 (file)
@@ -26,6 +26,13 @@ class roles::alioth_archive {
                group   => "alioth-archive",
        }
 
+       file { '/srv/alioth-archive.debian.org/htdocs':
+               ensure  => directory,
+               mode    => '2755',
+               owner   => "alioth-archive",
+               group   => "alioth-archive",
+       }
+
        file { '/home/alioth-archive':
                ensure => link,
                target => '/srv/alioth-archive.debian.org/home',
index 6531cc7..099c9ef 100644 (file)
@@ -14,6 +14,7 @@
        <Directory /srv/alioth-archive.debian.org/htdocs>
                Require all granted
                AllowOverride none
+               Options Indexes
        </Directory>
 
        RewriteEngine On