diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-03-09 00:11:00 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-03-09 00:11:00 +0000 |
commit | a811c1084c809f3d047dafc6d60612b01c9e4310 (patch) | |
tree | a9946593ec2b1175dab55574b9b869aabb46d12d /modules/buildsystem | |
parent | d2b9ba567ac4bcfa33264bdb8f525cf9dd319953 (diff) | |
download | puppet-a811c1084c809f3d047dafc6d60612b01c9e4310.tar puppet-a811c1084c809f3d047dafc6d60612b01c9e4310.tar.gz puppet-a811c1084c809f3d047dafc6d60612b01c9e4310.tar.bz2 puppet-a811c1084c809f3d047dafc6d60612b01c9e4310.tar.xz puppet-a811c1084c809f3d047dafc6d60612b01c9e4310.zip |
add "Options Indexes" for /uploads directory
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 1 | ||||
-rw-r--r-- | modules/buildsystem/templates/vhost_pkgsubmit.conf | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 2e600037..438b4651 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -50,6 +50,7 @@ class buildsystem { apache::vhost_base { "pkgsubmit.$domain": aliases => { "/uploads" => "$sched_home_dir/uploads" }, location => $location, + content => template("buildsystem/vhost_pkgsubmit.conf"), } subversion::snapshot { $location: diff --git a/modules/buildsystem/templates/vhost_pkgsubmit.conf b/modules/buildsystem/templates/vhost_pkgsubmit.conf new file mode 100644 index 00000000..af8bb70c --- /dev/null +++ b/modules/buildsystem/templates/vhost_pkgsubmit.conf @@ -0,0 +1,4 @@ +<Location /uploads> + Allow from all + Options Indexes +</Location> |