Gotcha... and I may also not mind creating multiple files under the
repo directory, but how do I disable the default repos that come with
CentOS?

Thanks,


On Jul 30, 8:14 am, Thomas Bellman <bell...@nsc.liu.se> wrote:
> On 2010-07-30 13:59, CraftyTech wrote:
>
> > So it looks like it's a bug... Apparently, you can only specify one
> > repo per file via Yumrepo definition...
>
> >http://projects.puppetlabs.com/issues/2062
>
> > It looks like it was so long ago.. I'm surprised that no one has come
> > up with a work around yet.
>
> That bug is about modifying existing repo definitions, where there
> already are multiple sections within a single file.  Like the six
> repos in /etc/yum.repos.d/CentOS-Base.repo.  And the reason no-one
> has bothered with working around that is probably that it actually
> works.  At least I have had no problems with doing that with at least
> 0.24.4, 0.24.8, 0.25.0 and 0.25.4.
>
> As for creating new repo definitions using the yumrepo type, I
> personally don't mind it putting each repo in its own file.
>
>         /Bellman

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to