Add support for 'projects' keyword

To replicate only specific projects, the 'projects' keyword can be used
(multiple times if needed) in each remote section of the
replication.config.

Change-Id: I0f66120a7c9c8f849c03c87e621ae1c46a343297
Co-Authored-By: Spencer Krum <nibz@spencerkrum.com>
This commit is contained in:
Timothy Chavez 2015-07-28 13:25:50 -05:00
parent cdfecb76bd
commit 8f458471e6
1 changed files with 5 additions and 0 deletions

View File

@ -22,4 +22,9 @@ defaultForceUpdate = <%= @replication_force_update %>
<% if replication['mirror'] != nil -%>
mirror = <%= replication['mirror'] %>
<% end -%>
<% if replication['projects'] != nil -%>
<% replication['projects'].each do |project| -%>
projects = <%= project %>
<% end -%>
<% end -%>
<% end -%>