On Oct 7, 2009, at 1:35 AM, Aurelien Degremont wrote: > > Luke Kanies a écrit : >> On Oct 6, 2009, at 9:14 AM, Aurelien Degremont wrote: >> >>> Hello >>> >>> I would like to bring back this bug which was posted some times ago. >>> I think this could be a interesting feature which could help a lot >>> of people. >>> It does not seem so a bug change. I think the tags code was (or will >>> be?) rewritten recently. >>> >>> I'm not a Ruby developper and so I would like the point of view of a >>> Puppet internal >>> specialist. >>> >>> http://projects.reductivelabs.com/issues/2401 >> >> It'd be a nice feature, but you can get pretty close to it with tags >> as they're implemented now (although you have to pre-tag the >> resources >> with unique tags if you know you want to apply just that one >> resource), and I don't think it'll be used that often. > > The point is that we are presently using tags and they do not offers > enough possibilities. > It is not possible to say: apply just _this_ file by example. > pre-tagging is not possible because it is not limited to some > ressources, but something > general that is needed.
I agree. If you've got the time to work on it, I could try pointing you in the right direction. > >> It's also moderately difficult, because it cuts across a lot of lines >> - at the least, from the executable to the transaction. Tags have >> been a bit difficult to keep stable, and this will have its own >> difficulties, too. > > That's a pity. Maybe modifying tags to do so is not the good approach? Yeah, I don't think it's a good idea to modify how tags work; you need a new argument akin to it but that accepts resource references. -- Somebody has to do something, and it's just incredibly pathetic that it has to be us. --Jerry Garcia --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
