Issue #2247 has been updated by Cody Robertson.

Tore L. wrote:
> Is yum-tmprepo something that can be used in this feature request?
> 
> From the package description:
>            : This plugin adds the option --tmprepo which takes a url to a 
> .repo file
>            : downloads it and enables it for a single run. This plugin tries 
> to ensure
>            : that temporary repositories are safe to use, by default, by not 
> allowing
>            : gpg checking to be disabled.
> 
> I can't see I've seen alot of people using this plugin before, but for this 
> case it acutally seems useable.
> 
> What do you guys think?

It would make more sense to utilize the --enablerepo flag of yum rather than 
introducing another package requirement for this type (as it's built in).
----------------------------------------
Feature #2247: enablerepo and disablerepo for yum type
http://projects.puppetlabs.com/issues/2247

Author: Ben -
Status: Accepted
Priority: Normal
Assigned to: 
Category: package
Target version: 0.25.6
Affected 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.

Reply via email to