summaryrefslogtreecommitdiff
path: root/manifests/vhost/modperl.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhost/modperl.pp')
-rw-r--r--manifests/vhost/modperl.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/vhost/modperl.pp b/manifests/vhost/modperl.pp
index 70a10ea..a527f4a 100644
--- a/manifests/vhost/modperl.pp
+++ b/manifests/vhost/modperl.pp
@@ -52,6 +52,7 @@ define apache::vhost::modperl(
$mod_security_additional_options = 'absent',
$ssl_mode = false,
$vhost_mode = 'template',
+ $template_partial = 'apache/vhosts/perl/partial.erb',
$vhost_source = 'absent',
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
@@ -83,7 +84,10 @@ define apache::vhost::modperl(
}
case $run_mode {
- 'proxy-itk','static-itk': { include ::mod_perl::itk_plus }
+ 'proxy-itk','static-itk': {
+ $passing_extension = 'pl'
+ include ::mod_perl::itk_plus
+ }
default: { include ::mod_perl }
}
@@ -106,6 +110,7 @@ define apache::vhost::modperl(
template_mode => 'perl',
logmode => $logmode,
vhost_mode => $vhost_mode,
+ template_partial => $template_partial,
vhost_source => $vhost_source,
vhost_destination => $vhost_destination,
domain => $domain,