From 0fe8c322128bf214db3a7930ab299856a3c1bcc4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 26 Apr 2018 20:51:10 +0200 Subject: [PATCH] and indexes on alioth-archive --- modules/roles/manifests/alioth_archive.pp | 7 +++++++ .../roles/templates/apache-alioth-archive.debian.org.erb | 1 + 2 files changed, 8 insertions(+) diff --git a/modules/roles/manifests/alioth_archive.pp b/modules/roles/manifests/alioth_archive.pp index b2fe305cf..918878968 100644 --- a/modules/roles/manifests/alioth_archive.pp +++ b/modules/roles/manifests/alioth_archive.pp @@ -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', diff --git a/modules/roles/templates/apache-alioth-archive.debian.org.erb b/modules/roles/templates/apache-alioth-archive.debian.org.erb index 6531cc783..099c9ef99 100644 --- a/modules/roles/templates/apache-alioth-archive.debian.org.erb +++ b/modules/roles/templates/apache-alioth-archive.debian.org.erb @@ -14,6 +14,7 @@ Require all granted AllowOverride none + Options Indexes RewriteEngine On -- 2.20.1