Puppet-repo is a project mainly written in ..., it's free.
Puppet module with CentOS 5 and EPEL 5 local mirror settings.