Issue #2247 has been updated by Daniel Pittman. Status changed from Duplicate to Needs Decision Target version set to 3.X
Jo Rhett wrote: > FWIW, I would disagree that #4113 is preferable to this. In practice many > sites may only use a single package manager, but some amount of diverse > heterogenous environments will have a mix of package managers. Putting > yum-specific options into the package definition isn't a good fix. A generic > option like "enablerepo" which could be implemented differently on each > package manager is much more general purpose and thus Better. > > I'd like to request that this be re-opened and pursued since it is clearly a > more general mechanism. I am inclined to agree: #4113 is really about allowing some provider specific parameters to influence behaviour. We should still generally favour using a generic model, and this is clearly something generic given the number of places that do allow enable or disable behaviour. ---------------------------------------- Feature #2247: enablerepo and disablerepo for yum type https://projects.puppetlabs.com/issues/2247#change-63020 Author: Ben - Status: Needs Decision Priority: Normal Assignee: Category: package Target version: 3.X Affected Puppet version: 0.24.8 Keywords: yum 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 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.
