[CentOS] Scriptable way to edit yum .repo files?

Amos Shapira amos.shapira at gmail.com
Thu Jan 8 01:09:11 UTC 2009


2009/1/8 Karanbir Singh <kbsingh at centos.org>:
> Amos Shapira wrote:
>> Is there a standard programmatic way to manipulate yum configuration
>> files, particularly the .repo files?
>
> Puppet has a yum module, which is quite capable and what I use.

Thanks to both of you. We don't use Puppet for all our hosts and
adding it for those which don't need it so far is a bit of an
overkill.

Actually I'd rather try to reduce our dependence on puppet (and
possibly replace it with "rollout", http://code.google.com/p/rollout/,
or gradually improve our own home-grown scripts).

Thanks,

--Amos


More information about the CentOS mailing list