summaryrefslogtreecommitdiff
path: root/manifests/vhost.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.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.pp')
-rw-r--r--manifests/vhost.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/vhost.pp b/manifests/vhost.pp
index 0b3e4f3..da1ce90 100644
--- a/manifests/vhost.pp
+++ b/manifests/vhost.pp
@@ -30,6 +30,7 @@
#
define apache::vhost(
$ensure = present,
+ $configuration = {},
$path = 'absent',
$path_is_webdir = false,
$logpath = 'absent',
@@ -72,6 +73,7 @@ define apache::vhost(
'file': {
apache::vhost::file{$name:
ensure => $ensure,
+ configuration => $configuration,
vhost_source => $vhost_source,
vhost_destination => $vhost_destination,
do_includes => $do_includes,
@@ -85,6 +87,7 @@ define apache::vhost(
'template': {
apache::vhost::template{$name:
ensure => $ensure,
+ configuration => $configuration,
path => $path,
path_is_webdir => $path_is_webdir,
logpath => $logpath,