summaryrefslogtreecommitdiff
path: root/manifests/vhost/gitweb.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-08 19:22:40 +0200
committermh <mh@immerda.ch>2011-10-08 19:22:40 +0200
commit2fa748dcc92e34b13bd4b6f7e452ef89b29490c4 (patch)
treef3827bd2c8cc3206b4f2a5a8a09b4951940d6cc4 /manifests/vhost/gitweb.pp
parent24c047d1cfc54c003eef7445e177e28f373c1da4 (diff)
introduce a new template style, less duplicated things, more handy options
Diffstat (limited to 'manifests/vhost/gitweb.pp')
-rw-r--r--manifests/vhost/gitweb.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/vhost/gitweb.pp b/manifests/vhost/gitweb.pp
index 3ac8243..5523af1 100644
--- a/manifests/vhost/gitweb.pp
+++ b/manifests/vhost/gitweb.pp
@@ -16,6 +16,7 @@ define apache::vhost::gitweb(
$documentroot_group = 0,
$documentroot_mode = 0640,
$allow_override = 'None',
+ $template_partial = 'apache/vhosts/gitweb/partial.erb',
$do_includes = false,
$options = 'absent',
$additional_options = 'absent',
@@ -37,7 +38,7 @@ define apache::vhost::gitweb(
default => '/var/log/apache2'
},
logmode => $logmode,
- template_partial => 'apache/vhosts/gitweb/partial.erb',
+ template_partial => $template_partial,
domain => $domain,
domainalias => $domainalias,
server_admin => $server_admin,