aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-04 17:02:30 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-04 17:02:30 +0000
commit1b5e1079510a28662049415b705f61be492db350 (patch)
treecc2ee1870a01b026126f07626aa49b5e9287c92a /modules/buildsystem
parentdd458a0ce73447609bf17194b1b6574d2e90e10a (diff)
downloadpuppet-1b5e1079510a28662049415b705f61be492db350.tar
puppet-1b5e1079510a28662049415b705f61be492db350.tar.gz
puppet-1b5e1079510a28662049415b705f61be492db350.tar.bz2
puppet-1b5e1079510a28662049415b705f61be492db350.tar.xz
puppet-1b5e1079510a28662049415b705f61be492db350.zip
add vhost for maintdb
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/init.pp4
-rw-r--r--modules/buildsystem/templates/vhost_maintdb.conf3
2 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index e15ebd8c..81b04636 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -214,6 +214,10 @@ class buildsystem {
require => User[$maintdb_login],
}
+ apache::vhost_base { "maintdb.$domain":
+ location => $maintdb_dbdir,
+ content => template("buildsystem/vhost_maintdb.conf"),
+ }
}
class binrepo inherits base {
diff --git a/modules/buildsystem/templates/vhost_maintdb.conf b/modules/buildsystem/templates/vhost_maintdb.conf
new file mode 100644
index 00000000..0990ebfd
--- /dev/null
+++ b/modules/buildsystem/templates/vhost_maintdb.conf
@@ -0,0 +1,3 @@
+<Directory <%= maintdb_dbdir %>>
+ Options None
+</Directory>