aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/init.pp5
-rw-r--r--modules/buildsystem/templates/vhost_binrepo.conf3
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index fc85016f..60af393a 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -261,6 +261,11 @@ class buildsystem {
sudo::sudoers_config { "binrepo":
content => template("buildsystem/sudoers.binrepo")
}
+
+ apache::vhost_base { "binrepo.$domain":
+ location => $binrepodir,
+ content => template("buildsystem/vhost_binrepo.conf"),
+ }
}
class mgarepo {
diff --git a/modules/buildsystem/templates/vhost_binrepo.conf b/modules/buildsystem/templates/vhost_binrepo.conf
new file mode 100644
index 00000000..8206614f
--- /dev/null
+++ b/modules/buildsystem/templates/vhost_binrepo.conf
@@ -0,0 +1,3 @@
+<Directory <%= binrepodir %>>
+ Options None
+</Directory>