Merge "Customize Gerrit's download command and schema"

This commit is contained in:
Jenkins 2016-05-15 10:37:20 +00:00 committed by Gerrit Code Review
commit a84dccb530
2 changed files with 7 additions and 0 deletions

View File

@ -76,6 +76,7 @@ class openstack_project::gerrit (
$report_bug_text = 'Get Help',
$report_bug_url = 'http://docs.openstack.org/infra/system-config/project.html#contributing',
$index_threads = 1,
$download = {},
) {
class { 'jeepyb::openstackwatch':
@ -213,6 +214,7 @@ class openstack_project::gerrit (
report_bug_text => $report_bug_text,
report_bug_url => $report_bug_url,
index_threads => $index_threads,
download => $download,
}
mysql_backup::backup_remote { 'gerrit':

View File

@ -140,6 +140,11 @@ class openstack_project::review (
token_private_key => $token_private_key,
swift_username => $swift_username,
swift_password => $swift_password,
download => {
'command' => ['checkout', 'cherry_pick', 'pull', 'format_patch'],
'scheme' => ['ssh', 'anon_http', 'anon_git'],
'archive' => ['tar', 'tbz2', 'tgz', 'txz'],
},
replication_force_update => true,
replication => [
{