Issue #2247 has been updated by Brian Pitts.
I'll take a crack at taking Nathan's work and turning it into a pull request against the master branch this week. For people who are desperate for a solution, don't forget that puppet's yumrepo type supports includepkgs. From the manpage: "includepkgs Inverse of exclude. This is a list of packages you want to use from a repository. If this option lists only one package then that is all yum will ever see from the repository. Defaults to an empty list. Substitution variables, described below, are honored here. " ---------------------------------------- Feature #2247: enablerepo and disablerepo for yum type https://projects.puppetlabs.com/issues/2247#change-98125 * Author: Ben - * Status: Investigating * Priority: Normal * Assignee: Charlie Sharpsteen * Category: package * Target version: 3.x * Affected Puppet version: 0.24.8 * Keywords: yum enablerepo customer * Branch: https://github.com/nathannorton/puppet/tree/feature/master/2247-enablerepo ---------------------------------------- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
