I have a local yum repo that is updated via mrepo / createrepo, all my servers are targeting this local repo for their updates but it's always installing the last version which isn't good for a production environment.
I'd like to implement a procedure to control which version of packages are authorized to be pulled by clients. So I'd need to have multiple versions of packages.
I tried the following parameters in /etc/mrepo.conf, but I still see packages being removed due to newer revision during a 'mrepo -uvvg'
mirrordir-cleanup = no
reposync-cleanup = no
reposync-newest-only = no
rhnget-cleanup = no
rhnget-download-all = yes
rsync-cleanup = no
/etc/mrepo.d/centos.conf :
[centos6]
name = CentOS Repo $release ($arch)
release = 6
arch = x86_64
metadata = repomd repoview yum
### Additional repositories
centos6 = http://mirror.csclub.uwaterloo.ca/centos/$release/os/$arch/
centos6-updates=http://mirror.csclub.uwaterloo.ca/centos/$release/updates/$arch/