Add the Gerrit replication plugin paramater 'defaultForceUpdate'

The Gerrit 2.9 replication plugin added an explicit defaultForceUpdate
parameter.  This change adds it to the puppet script and sets the parameter
to true.

Depends-on: Ia77319ec95636e42d0b0860901dc6f3b34f4750d
Change-Id: I716d4afcd8d503edd1b66d5ea732a151e66b09e4
This commit is contained in:
Khai Do 2015-02-11 16:48:18 -08:00
parent 633420931b
commit 052542c002
3 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class openstack_project::gerrit (
$trivial_rebase_role_id = '',
$email_private_key = '',
$replicate_local = true,
$replication_force_update = true,
$replication = [],
$local_git_dir = '/opt/lib/git',
$jeepyb_cache_dir = '/opt/lib/jeepyb',
@ -197,6 +198,7 @@ class openstack_project::gerrit (
email_private_key => $email_private_key,
replicate_local => $replicate_local,
replicate_path => $local_git_dir,
replication_force_update => $replication_force_update,
replication => $replication,
gitweb => $gitweb,
cgit => $cgit,

View File

@ -134,6 +134,7 @@ class openstack_project::review (
sysadmins => $sysadmins,
swift_username => $swift_username,
swift_password => $swift_password,
replication_force_update => true,
replication => [
{
name => 'github',

View File

@ -72,6 +72,7 @@ class openstack_project::review_dev (
web_repo_url => 'https://git.openstack.org/cgit/',
swift_username => $swift_username,
swift_password => $swift_password,
replication_force_update => true,
replication => [
{
name => 'github',