aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/git.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/manifests/git.pp')
-rw-r--r--deployment/websites/manifests/git.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/deployment/websites/manifests/git.pp b/deployment/websites/manifests/git.pp
new file mode 100644
index 00000000..e357dfb2
--- /dev/null
+++ b/deployment/websites/manifests/git.pp
@@ -0,0 +1,10 @@
+class websites::git {
+ apache::vhost_redirect { "git.${::domain}":
+ url => "https://gitweb.${::domain}/",
+ }
+ apache::vhost_redirect { "ssl_git.${::domain}":
+ use_ssl => true,
+ vhost => "git.${::domain}",
+ url => "https://gitweb.${::domain}/",
+ }
+}