From 3df19676f8416b09452c31a05509e9aa179d2af9 Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Thu, 8 Dec 2016 11:40:00 +0100 Subject: [PATCH] governance.o.o: add redirect for badges Badges are published under /srv/static/tc, and links pointing to http://governance.openstack.org/badges were created everywhere. In order to avoid breaking those links when we switch the docroot, create an additional redirect for the /badges/ subdirectory. Change-Id: Id2eb469cd1be16da04e73a752aa586a58330499c --- modules/openstack_project/manifests/static.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index 64a39e9a8f..01fb2893e5 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -273,6 +273,7 @@ class openstack_project::static ( } # Extra redirects needed for vhost template: $governance_redirects = { + '/badges/' => '/tc/badges/', '/goals/' => '/tc/goals/', '/reference/' => '/tc/reference/', '/resolutions/' => '/tc/resolutions/',