diff options
author | mh <mh@immerda.ch> | 2011-10-08 19:22:40 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-10-08 19:22:40 +0200 |
commit | 2fa748dcc92e34b13bd4b6f7e452ef89b29490c4 (patch) | |
tree | f3827bd2c8cc3206b4f2a5a8a09b4951940d6cc4 /manifests/vhost/modperl.pp | |
parent | 24c047d1cfc54c003eef7445e177e28f373c1da4 (diff) |
introduce a new template style, less duplicated things, more handy options
Diffstat (limited to 'manifests/vhost/modperl.pp')
-rw-r--r-- | manifests/vhost/modperl.pp | 7 |
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, |