Issue #2247 has been updated by Matthew Byng-Maddick.

Hi Nigel and James,

Thanks for your considered replies. I'm sorry if my initial update came across 
as harsh, but I hope you can understand my frustration at finding a ticket 
relating to the exact problem I needed to solve that was 2 years old, doing the 
work to write the patch, attaching it to said ticket, and then seeing the first 
person from any kind of puppet committer team changing the status away from 
"Accepted" - not pointing me in any kind of direction as to why they were 
ignoring the patch, but apparently just ignoring its existence.

Yes, it's very nasty - it's a bit of a quick hack, but it certainly points the 
way - I wasn't expecting it to just be merged - far from it, but the cat that 
I've put amongst the pigeons above has had the desired effect.

Mark: it'd be great if you can take this and do it properly (I also have very 
little time to work on something that I now know works for me) - there are a 
couple of changes that need to be made. In particular, you probably want to 
change it from enablerepo to just "repositories" or some similar generic name, 
and then do the add and disable in one go - this allows you to be order 
dependent (as yum itself is). I merely shared the patch to ease the 2 year-old 
frustration for anyone who came to look at this ticket - it was far from 
polished and finished and appropriate for merging.

Cheers

MBM
----------------------------------------
Feature #2247: enablerepo and disablerepo for yum type
https://projects.puppetlabs.com/issues/2247

Author: Ben -
Status: Needs More Information
Priority: Normal
Assignee: 
Category: package
Target version: 
Affected Puppet 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