Issue #2247 has been updated by Matthew Byng-Maddick.
Hi Nathan, yes, it doesn't do disablerepo, but it wouldn't be hard to add it in. There's a slight subtlety about ordering, but I did the work on the yumhelper that enables it, just not the work in the ruby. The ruby pattern would pretty much follow my existing work for the enablerepo, though. It's possible that what should actually happen is that you do the disable by doing a "-<reponame>" and pick that up in the python. This allows you to do things like: enablerepo => "-*,myrepo" or enablerepo => "*,-myrepo" Cheers MBM ---------------------------------------- Feature #2247: enablerepo and disablerepo for yum type https://projects.puppetlabs.com/issues/2247 Author: Ben - Status: Accepted Priority: Normal Assignee: Category: package Target version: Statler Affected Puppet version: 0.24.8 Keywords: yum Branch: it would be nice to be able to enable a disabled repo for the installation on one package. for example installing facter from EPEL. something like; <pre> package { "facter": ensure => installed, enablerepo => [ "epel", "epel-testing" ]; } </pre> -- 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://projects.puppetlabs.com/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.
