aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-08-16 23:23:04 +0000
committerNicolas Vigier <boklm@mageia.org>2011-08-16 23:23:04 +0000
commit897319f2b0bc49d81d0c73a0963f2f085fbeb4c0 (patch)
tree372902228d079d8849df8d01fcaf21ee28bb352c /modules
parent4a45a7972c9eb340a1652a5084895e0cb1474801 (diff)
downloadpuppet-897319f2b0bc49d81d0c73a0963f2f085fbeb4c0.tar
puppet-897319f2b0bc49d81d0c73a0963f2f085fbeb4c0.tar.gz
puppet-897319f2b0bc49d81d0c73a0963f2f085fbeb4c0.tar.bz2
puppet-897319f2b0bc49d81d0c73a0963f2f085fbeb4c0.tar.xz
puppet-897319f2b0bc49d81d0c73a0963f2f085fbeb4c0.zip
add binrepo vhost config
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>