Issue #2247 has been updated by Jo Rhett.

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.
----------------------------------------
Feature #2247: enablerepo and disablerepo for yum type
https://projects.puppetlabs.com/issues/2247#change-62983

Author: Ben -
Status: Duplicate
Priority: Normal
Assignee: 
Category: package
Target version: 
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.

Reply via email to