diff options
author | o <o@immerda.ch> | 2014-11-14 11:47:35 +0100 |
---|---|---|
committer | o <o@immerda.ch> | 2014-11-15 18:05:30 +0100 |
commit | 49064cc0ad4f89dd7aaa2690436c30a26a0385f9 (patch) | |
tree | eef8e7f004b01a088612daf581a398522ab347da /manifests/vhost/redirect.pp | |
parent | 91ce5c16d26a51d7b61416e18b899e4ac115fa25 (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/redirect.pp')
-rw-r--r-- | manifests/vhost/redirect.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/vhost/redirect.pp b/manifests/vhost/redirect.pp index a106c59..0ac40cc 100644 --- a/manifests/vhost/redirect.pp +++ b/manifests/vhost/redirect.pp @@ -21,6 +21,7 @@ # define apache::vhost::redirect( $ensure = present, + $configuration = {}, $domain = 'absent', $domainalias = 'absent', $target_url, @@ -32,6 +33,7 @@ define apache::vhost::redirect( # we use the options field as the target_url ::apache::vhost::template{$name: ensure => $ensure, + configuration => $configuration, template_partial => 'apache/vhosts/redirect/partial.erb', domain => $domain, path => 'really_absent', |