system-config/modules/gerrit/templates/replication.config.erb
Anita Kuno 864d6a4e89 Rename config => system-config in gerrit/templates
We are renaming openstack-infra/config to
openstack-infra/system-config. This patch edits the paths
in the gerrit/templates files.

Change-Id: I9913c6e0c73f614b8fc07a8a17a3fafe5110aebc
2014-10-17 15:05:10 -04:00

23 lines
762 B
Plaintext

# This file is managed by puppet.
# https://git.openstack.org/cgit/openstack-infra/system-config
<% @replication.each do |replication| -%>
[remote "<%= replication['name'] %>"]
url = <%= replication['url'] %>${name}.git
<% if replication['replicationDelay'] != nil -%>
replicationDelay = <%= replication['replicationDelay'] %>
<% end -%>
<% if replication['threads'] != nil -%>
threads = <%= replication['threads'] %>
<% end -%>
<% if replication['authGroup'] != nil -%>
authGroup = <%= replication['authGroup'] %>
<% end -%>
<% if replication['replicatePermissions'] != nil -%>
replicatePermissions = <%= replication['replicatePermissions'] %>
<% end -%>
<% if replication['mirror'] != nil -%>
mirror = <%= replication['mirror'] %>
<% end -%>
<% end -%>