We maintain our own local mirror of SL5 and update our servers from it.
We have created our own repo file in /etc/yum.repos.d/ and have disabled
everything else by setting "enable=1" to "enable=0". We do this instead
of simply deleting them in case we ever need refer to those files.

We have a cfengine script that does this and it has worked perfectly
until SL5.8. It seems that a new repo was introduced in this version
(sl-security-jdk) but the regex that matches the other repos does not
match this one. That is because there is trailing whitespace after the
"enabled=1" in that section.

I have update my regex from "^enable=1$" to "^enabled=1.*$", but I
wonder what that trailing whitespace is doing there in the first
place! ;-)


-- 
Chris O'Regan <[log in to unmask]>
Senior Unix Systems Administrator, Academic IT Services
Faculty of Engineering and Computer Science
Concordia University, Montreal, Canada