Issue #2247 has been updated by Craig Dunn.
Just to add some weight to this, We've just encountered a scenario that would also benefit from being able to pass through enablerepo and disablerepo through to the Yum provider. In this case, trying to install "vlc" on RedHat, it requires several packages from rpmforge and updates but this clashes with stuff that we have in our own repos. The only way we've managed to get yum to resolve all it's dependencies for this package is to disable our internal repos and use yum --disablerepo "*" --enablerepo base,testing,rpmforge. We are currently forced to do this with an exec, which is not nice. Surely passing through valuable yum features like this to the provider isn't a bad thing? ---------------------------------------- Feature #2247: enablerepo and disablerepo for yum type https://projects.puppetlabs.com/issues/2247 Author: Ben - Status: Needs More Information Priority: Normal Assignee: Category: package Target version: 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.
