diff options
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 4 | ||||
-rw-r--r-- | modules/buildsystem/templates/vhost_maintdb.conf | 3 |
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> |