cobbler/cobbler — pull request #697 by mark987 (2014-01-26 23:03:38+00:00)
Title: Issue647

As noted in issue647, createrepo is not needed for current redhat / fedora disks, only for rhel5 and earlier that were not yum-based installs so have no repodata structures on the disks. With this change, createrepo is run only if the repodata directory is not found. The full directory tree scan still happens so all repos are located and advertised regardless.