cobbler/cobbler — pull request #1313 by mark987 (2014-10-21 02:17:34+00:00)
Title: action_reposync/yum_sync - honor mirror_locally

With mirror_locally false, yum_sync should write the .repo file and
nothing else, but this was broken by commit 213625c.

Refector the routine to write out the local config file up front,
making the logic a cleaner.