diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-07-25 21:35:04 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-07-25 21:35:04 +0000 |
commit | e599916eedccec963bb00dd73ab22bbd2f55b55a (patch) | |
tree | 29d4be626f2c8506ee6e8f9b06cec69359edd32f /modules/gitweb/manifests/init.pp | |
parent | 850c98f03184045f06725507518a0ac6edf4ba6f (diff) | |
download | puppet-e599916eedccec963bb00dd73ab22bbd2f55b55a.tar puppet-e599916eedccec963bb00dd73ab22bbd2f55b55a.tar.gz puppet-e599916eedccec963bb00dd73ab22bbd2f55b55a.tar.bz2 puppet-e599916eedccec963bb00dd73ab22bbd2f55b55a.tar.xz puppet-e599916eedccec963bb00dd73ab22bbd2f55b55a.zip |
gitweb: add ssl vhost
Diffstat (limited to 'modules/gitweb/manifests/init.pp')
-rw-r--r-- | modules/gitweb/manifests/init.pp | 8 |
1 files changed, 7 insertions, 1 deletions
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'), + } } |