Make git protocol point to git.o.o
Openstack supports the git protocol (git://git.openstack.org/) for accessing our repros[1]. The anoymous git download command on the Gerrit change screen points to review.o.o We prefer it to point to the cgit servers because those are faster and there are many more of them. [1] https://git.openstack.org/cgit/openstack-infra/system-config Change-Id: I7989769b3e702c9f924b76e862e775d5717fb529 Depends-on: I5bd57d91b4d4a685328efe4d589a191debaa0fe5
This commit is contained in:
parent
051b2415d5
commit
5331c0a5a2
@ -9,6 +9,7 @@ class openstack_project::gerrit (
|
||||
$vhost_name = $::fqdn,
|
||||
$canonicalweburl = "https://${::fqdn}/",
|
||||
$git_http_url = '',
|
||||
$canonical_git_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',
|
||||
@ -106,6 +107,7 @@ class openstack_project::gerrit (
|
||||
vhost_name => $vhost_name,
|
||||
canonicalweburl => $canonicalweburl,
|
||||
git_http_url => $git_http_url,
|
||||
canonical_git_url => $canonical_git_url,
|
||||
# opinions
|
||||
allow_drafts => false,
|
||||
enable_melody => true,
|
||||
|
@ -93,6 +93,7 @@ class openstack_project::review (
|
||||
|
||||
class { 'openstack_project::gerrit':
|
||||
git_http_url => 'https://git.openstack.org/',
|
||||
canonical_git_url => 'git://git.openstack.org/',
|
||||
ssl_cert_file => $ssl_cert_file,
|
||||
ssl_key_file => $ssl_key_file,
|
||||
ssl_chain_file => $ssl_chain_file,
|
||||
|
Loading…
x
Reference in New Issue
Block a user