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.



On Jul 29, 3:15 pm, CraftyTech <hmmed...@gmail.com> wrote:
> Hello All,
>
>      In all the examples that I see you configure one repo per file;
> i.e:
>
> yumrepo { "testing.com-repo":
> baseurl => "http://repos.testing.com/fedora/$lsbdistrelease/";,
> descr => "Testing.com's YUM repository",
> enabled => 1,
> gpgcheck => 0,
>
> }
>
> But how do I specify multiple entries to the same file?.  For
> instance, I just one to have one file "base.repo" to contains all the
> entries for the repos for my environment.  i.e:
> /etc/yum.repo.d/base.repo:
> [base]
> baseurl <value>
> Desc <value>
> [3rdParty]
> baseurl <value>
> Desc <value>
>
> I'm running puppet 0.25.5.
>
> Thanks,

-- 
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