Issue #2062 has been updated by jbooth.
My tests using a epel.repo on RHEL5/puppet 0.24.6 seemed to let me edit all three entries in the epel.repo file just fine. Now when I removed the epel-release rpms and let my same huge yumrepo definitions try to create everything for me, they generated multiple files rather than stuffing things into a collective file. The only problem with this I see is that if I installed epel-release after my yumrepo definitions have created 20 files, then I'll have duplicates (it'll just replace my epel.repo without removing epel-source.repo and epel-debuginfo.repo). Is the original request just requesting that yumrepo get a file=> parameter? Or is it a request to fix a broken repo from another application? ---------------------------------------- Bug #2062: yumrepo resource does not support multiple repos per file http://projects.reductivelabs.com/issues/2062 Author: TrevorHemsley Status: Accepted Priority: Low Assigned to: community Category: yumrepo Target version: unplanned Complexity: Unknown Affected version: 0.24.7 Keywords: Many of the files in /etc/yum.repos.d on Centos/Redhat contain multiple repos within a single file. Using the yumrepo resource it is not possible to manage the contents of these files. Example: Cobbler installs a file called /etc/yum.repos.d/cobbler-config.repo which contains <pre> name=core-0 baseurl=http://your.url:80/cobbler/ks_mirror/Centos5.2-i386 enabled=1 gpgcheck=1 [Centos5-x86_64-UPDATES] name=Centos5-x86_64-UPDATES baseurl=http://your.url:80/cobbler/repo_mirror/Centos5-i386-UPDATES enabled=1 gpgcheck=1 </pre> Defining a yumrepo {"core-0":} allows you to manage the first of these repos inside the file but if you attempt to define a yumrepo {"Centos5-x86_64-UPDATES": } resource then puppet will create a new file containing a duplicate definition. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
