aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gitweb/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gitweb/manifests/init.pp')
-rw-r--r--modules/gitweb/manifests/init.pp8
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'),
+ }
}