system-config/modules/gerrit/templates/replication.config.erb
Spencer Krum b97a43f14a Fixing deprecation warnings in gerrit module
Change-Id: Ie19d47eb4e02d86e8eaef7541321fb42eb546ad9
2014-07-16 00:09:52 -07:00

23 lines
755 B
Plaintext

# This file is managed by puppet.
# https://git.openstack.org/cgit/openstack-infra/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 -%>