From 49064cc0ad4f89dd7aaa2690436c30a26a0385f9 Mon Sep 17 00:00:00 2001 From: o Date: Fri, 14 Nov 2014 11:47:35 +0100 Subject: 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. --- manifests/vhost.pp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'manifests/vhost.pp') 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, -- cgit v1.2.3