Change http download command to point to git.o.o

The http download command on the Gerrit change screen points to
review.o.o We prefer it to point to the replicated repos because
those are faster and there are many more of them.

Depends-on: I4fa1cc7b1f0b717c35dc4eccedb635c9f3680c26
Change-Id: I24946f5feeae11b6659982d79f119d84335cc237
This commit is contained in:
Khai Do 2016-03-31 12:41:20 -07:00
parent 9e9dd6c3ce
commit ded2ea1f5d
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ class openstack_project::gerrit (
$mysql_password,
$vhost_name = $::fqdn,
$canonicalweburl = "https://${::fqdn}/",
$git_http_url = '',
$serveradmin = 'webmaster@openstack.org',
$ssh_host_key = '/home/gerrit2/review_site/etc/ssh_host_rsa_key',
$ssh_project_key = '/home/gerrit2/review_site/etc/ssh_project_rsa_key',
@ -104,6 +105,7 @@ class openstack_project::gerrit (
class { '::gerrit':
vhost_name => $vhost_name,
canonicalweburl => $canonicalweburl,
git_http_url => $git_http_url,
# opinions
allow_drafts => false,
enable_melody => true,

View File

@ -92,6 +92,7 @@ class openstack_project::review (
}
class { 'openstack_project::gerrit':
git_http_url => 'https://git.openstack.org/',
ssl_cert_file => $ssl_cert_file,
ssl_key_file => $ssl_key_file,
ssl_chain_file => $ssl_chain_file,