I would like to make a mirror of just the puppet client and its dependencies for Ubuntu Precise, but hosted on my CentOS 6 host.
If I do
cd /var/ftp wget -A deb -r -np -nH --cut-dirs=1 http://apt.puppetlabs.com/pool/precise/dependencies/ wget -A deb -r -np -nH --cut-dirs=1 http://apt.puppetlabs.com/pool/precise/main/
and then on an Ubuntu Precise add the following to
deb ftp://puppet.example.com precise main deb ftp://puppet.example.com precise dependencies
then I get
W: Failed to fetch ftp://puppet.example.com/dists/precise/dependencies/binary-amd64/Packages Unable to fetch file, server said 'Failed to open file. '
Is there a tool or howto on how to host a deb/apt repo on CentOS?