summaryrefslogtreecommitdiff
path: root/manifests/vhost/gitweb.pp
diff options
context:
space:
mode:
authoro <o@immerda.ch>2014-11-14 11:47:35 +0100
committero <o@immerda.ch>2014-11-15 18:05:30 +0100
commit49064cc0ad4f89dd7aaa2690436c30a26a0385f9 (patch)
treeeef8e7f004b01a088612daf581a398522ab347da /manifests/vhost/gitweb.pp
parent91ce5c16d26a51d7b61416e18b899e4ac115fa25 (diff)
sni: make ssl_cert configurable per vhost
to support sni we configure ssl_certs on a vhost basis. additionally this commit introduces a generic configuration hash which will be used to replace most other parameters in the future.
Diffstat (limited to 'manifests/vhost/gitweb.pp')
-rw-r--r--manifests/vhost/gitweb.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/vhost/gitweb.pp b/manifests/vhost/gitweb.pp
index dab4983..6dd8643 100644
--- a/manifests/vhost/gitweb.pp
+++ b/manifests/vhost/gitweb.pp
@@ -6,6 +6,7 @@
#
define apache::vhost::gitweb(
$ensure = present,
+ $configuration = {},
$domain = 'absent',
$logmode = 'default',
$domainalias = 'absent',
@@ -28,6 +29,7 @@ define apache::vhost::gitweb(
# create vhost configuration file
::apache::vhost{$name:
ensure => $ensure,
+ configuration => $configuration,
path => '/var/www/git',
path_is_webdir => true,
logpath => $::operatingsystem ? {