From 8a646a626aa065c36e05e6251bffdb0fcff074de Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Tue, 21 May 2013 11:51:13 +0200 Subject: [PATCH] Expose releasestatus under status.o.o/release.new Deploy releasestatus site at /srv/static/release and add an alias to expose that directory under status.o.o/release.new (current deploy location at /srv/static/release.new was actually not exposed). That will allow to check everything runs properly before we switch the main status.o.o/release alias to /srv/static/release. Change-Id: I113b6a6a914a42330927783793ad078ebe390e13 Reviewed-on: https://review.openstack.org/29895 Reviewed-by: Clark Boylan Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- modules/openstack_project/manifests/static.pp | 2 +- modules/openstack_project/templates/status.vhost.erb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index c5ac90f0e5..72d30a702d 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -272,6 +272,6 @@ class openstack_project::static ( releasestatus::site { 'releasestatus': configfile => 'integrated.yaml', - httproot => '/srv/static/release.new', + httproot => '/srv/static/release', } } diff --git a/modules/openstack_project/templates/status.vhost.erb b/modules/openstack_project/templates/status.vhost.erb index 13f766fe38..476f89dd83 100644 --- a/modules/openstack_project/templates/status.vhost.erb +++ b/modules/openstack_project/templates/status.vhost.erb @@ -36,6 +36,7 @@ NameVirtualHost <%= vhost_name %>:<%= port %> Alias /reviews /srv/static/reviewday + Alias /release.new /srv/static/release > Options <%= options %>