Matt Wallace wrote:
> I've updated my manifests to reflect the above, however now when I run
> Yum manually on the servers I get the following output:
>
> Repository 'epel' is missing name in configuration, using id
>
>
> It doesn't make a difference to the install, I'm just wondering if I'm
> missing a flag from the following:
>
> yumrepo{epel:
> name => "Epel",
> baseurl=> "http://updates.the.namesco.net/centos\$releasever-\
> $basearch/RPMS.epel/",
> gpgcheck=> "1",
> gpgkey=> "http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL";,
> enabled=> "1",
> includepkgs=> "puppet* ruby* facter augeas-libs ruby-augeas ruby-shadow
> munin-common munin-node munin-server pyparsing libvirt* libyaml* PyYAML*
> cobbler* Django* python-netaddr",
> }

You should set the descr parameter.  From the yumrepo docs:

    descr

    A human readable description of the repository. This corresponds
    to the name parameter in yum.conf(5). Set this to ‘absent’ to
    remove it from the file completely Valid values are absent. Values
    can match /.*/.

So rather than name => "Epel", use descr => "Epel" and should be be
good. (Though a pedant would tell you to spell it as EPEL. ;)

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fleas can be taught nearly anything that a Congressman can.
    -- Mark Twain

Attachment: pgpg7PkxG1I6b.pgp
Description: PGP signature

Reply via email to