From c25a3bec7408628b059fc704702ac1a478dcc3e9 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Thu, 3 May 2018 14:33:51 -0700
Subject: [PATCH] Fix the gerrit-host used by jeepyb config

This template was previously set to use the local hosts fqdn for the
jeepyb gerrit-host config item. Now that we've switched to indexed hosts
for review.o.o that ends up as review01.openstack.org.

This would work fine for network connectivity to the ssh server and
otherwise we wouldn't notice except that this is the value we write into
the .gitreview files. To make them more accurate switch to
review.openstack.org as the explicit value.

Note I considered making this configurable but we already assume so many
other openstack specific values in this file I don't think its super
necessary.

Change-Id: I065af01b2793639453562d924e58ba7c769dcd38
---
 modules/openstack_project/templates/review.projects.ini.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/openstack_project/templates/review.projects.ini.erb b/modules/openstack_project/templates/review.projects.ini.erb
index 35ba56f5f0..51a46b5914 100644
--- a/modules/openstack_project/templates/review.projects.ini.erb
+++ b/modules/openstack_project/templates/review.projects.ini.erb
@@ -3,7 +3,7 @@ homepage=http://openstack.org
 acl-dir=/home/gerrit2/acls
 local-git-dir=<%= @local_git_dir %>
 jeepyb-cache-dir=<%= @jeepyb_cache_dir %>
-gerrit-host=<%= @fqdn %>
+gerrit-host=review.openstack.org
 gerrit-user=openstack-project-creator
 gerrit-committer=OpenStack Project Creator <openstack-infra@lists.openstack.org>
 gerrit-key=<%= @ssh_project_key %>