This exact functionality is available via the Yum Priorities plugin.

http://wiki.centos.org/PackageManagement/Yum/Priorities


On Tue, May 6, 2014 at 8:19 AM, Michael Tiernan <[log in to unmask]> wrote:

> On 5/5/14 5:19 PM, Mattieu Puel wrote:
>
> >> Those services admins thus may install new repositories and sysadmins
> >> cannot be sure that those repositories are disabled (which I agree would
> >> be the right approach).
> I don't disagree. I'd like to allow some repos to do automatic updates
> but some others to be available but not automatically massaged.
>
> Maybe a comprimise may be made where there's a priority threshhold. If
> the repo's above a certain priority then it is not used for auto
> updates. (Or the opposite.)
>
> There must be a config file for the autoupdate operation (I haven't
> looked).
>
> --
>   << MCT >>   Michael C Tiernan xmpp:[log in to unmask] +1 (617) 324-9173
>   MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
>   High Perf Research Computing Facility at The Bates Linear Accelerator
>     Please avoid sending me MS-Word or MS-PowerPoint attachments.
>     See http://www.gnu.org/philosophy/no-word-attachments.html
>



-- 
--
Travis Heinstrom