diff options
-rw-r--r-- | deployment/websites/manifests/git.pp | 5 | ||||
-rw-r--r-- | manifests/nodes/valstar.pp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/deployment/websites/manifests/git.pp b/deployment/websites/manifests/git.pp new file mode 100644 index 00000000..070c13a5 --- /dev/null +++ b/deployment/websites/manifests/git.pp @@ -0,0 +1,5 @@ +class websites::git { + apache::vhost_redirect { "git.$::domain": + url => "http://gitweb.$::domain/", + } +} diff --git a/manifests/nodes/valstar.pp b/manifests/nodes/valstar.pp index 81b7ad1d..97db34e2 100644 --- a/manifests/nodes/valstar.pp +++ b/manifests/nodes/valstar.pp @@ -34,6 +34,7 @@ node valstar { include irkerd include websites::svn + include websites::git class { 'mga-advisories': vhost => 'advisories.mageia.org', |