From e599916eedccec963bb00dd73ab22bbd2f55b55a Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 25 Jul 2013 21:35:04 +0000 Subject: gitweb: add ssl vhost --- modules/gitweb/manifests/init.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gitweb/manifests/init.pp b/modules/gitweb/manifests/init.pp index 3dc16350..d7c07b22 100644 --- a/modules/gitweb/manifests/init.pp +++ b/modules/gitweb/manifests/init.pp @@ -20,7 +20,13 @@ class gitweb { notify => Service['apache'], } - apache::vhost::base { "gitweb.$::domain": + $vhost = "gitweb.${::domain}" + apache::vhost::base { $vhost: content => template('gitweb/vhost.conf') } + apache::vhost::base { "ssl_${vhost}": + vhost => $vhost, + use_ssl => true, + content => template('gitweb/vhost.conf'), + } } -- cgit v1.2.1