Issue #2247 has been updated by Jeff McCune.

Status changed from Needs Decision to Accepted
Keywords changed from yum to yum enablerepo

Decision made; this is a valuable feature that many Puppet users would like to 
see included.  The new functionality can be easily and directly modeled in 
Puppet as mapping onto the `--enablerepo` yum command line option.  We can use 
features to implement this in a backwards compatible manner.  I don't see any 
practical reason not to add this functionality into Puppet core.

We have code, in this ticket and I see there is more code (and tests!) at 
<https://github.com/nathannorton/puppet/tree/feature/master/2247-enablerepo>.

Next actions: We need to get these various different patches formed up into a 
pull request against the master branch.  We need to make sure the functionality 
is implemented in a backwards compatible manner.  Finally, we need to make sure 
the new "enablerepo" parameter for the package type does not interfere with all 
of the other package providers.
----------------------------------------
Feature #2247: enablerepo and disablerepo for yum type
https://projects.puppetlabs.com/issues/2247#change-77774

Author: Ben -
Status: Accepted
Priority: Normal
Assignee: 
Category: package
Target version: 3.x
Affected Puppet version: 0.24.8
Keywords: yum enablerepo
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