Move local git replica on review to /opt

Merge after it has been created there manually to avoid downtime.
Will require a gerrit restart to pick up the replication change.

Change-Id: I6b55d16d731725548b8da46f5438e296b6dc6485
This commit is contained in:
James E. Blair 2014-04-24 09:00:13 -07:00
parent 3c2948637a
commit 3f92f797e1
3 changed files with 2 additions and 3 deletions
modules
gerrit/manifests
openstack_project/manifests

View File

@ -136,7 +136,7 @@ class gerrit(
$enable_melody = false,
$melody_session = false,
$replicate_local = false,
$replicate_path = '/var/lib/git',
$replicate_path = '/opt/lib/git',
$replication = [],
$gitweb = true,
$cgit = false,

View File

@ -56,7 +56,7 @@ class openstack_project::gerrit (
$email_private_key = '',
$replicate_local = true,
$replication = [],
$local_git_dir = '/var/lib/git',
$local_git_dir = '/opt/lib/git',
$jeepyb_cache_dir = '/opt/lib/jeepyb',
$cla_description = 'OpenStack Individual Contributor License Agreement',
$cla_file = 'static/cla.html',

View File

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