From 897319f2b0bc49d81d0c73a0963f2f085fbeb4c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 16 Aug 2011 23:23:04 +0000 Subject: add binrepo vhost config --- modules/buildsystem/manifests/init.pp | 5 +++++ modules/buildsystem/templates/vhost_binrepo.conf | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 modules/buildsystem/templates/vhost_binrepo.conf (limited to 'modules/buildsystem') 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 @@ +> + Options None + -- cgit v1.2.1