Add an AFS Git mirror for review-dev projects

Change-Id: I288286ed57220e86c2cb897e2573088e5be4261f
This commit is contained in:
Jeremy Stanley 2014-12-16 15:26:04 +00:00
parent 588a44ba8a
commit 022b339c1b
2 changed files with 10 additions and 0 deletions

View File

@ -69,10 +69,12 @@ class openstack_project::gerrit (
$cgit = false,
$web_repo_url = '',
$secondary_index = true,
$afs = false,
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80, 443, 29418],
sysadmins => $sysadmins,
afs => $afs,
}
class { 'jeepyb::openstackwatch':

View File

@ -87,8 +87,16 @@ class openstack_project::review_dev (
threads => '4',
mirror => true,
},
{
name => 'afs',
url => 'file:///afs/openstack.org/mirror/git-sandbox/',
replicationDelay => '0',
threads => '4',
mirror => true,
},
],
require => $::project_config::config_dir,
afs => true,
}
gerrit::plugin { 'javamelody':