On Jan 21, 2009, at 3:38 AM, Sven Mueller wrote: > > I wrote: >> I recently stumbled over bug #1465 (as can be seen in my report >> #1864, I >> initially didn't find #1465). This bug is a major problem for us, >> especially because of it causing puppet to fail in a very non-obvious >> way (doesn't install a package it is explicitly asked to install, >> without giving any error message). > > Anyone care to take a look at those bugs? I think the most annoying > part > of the bug could be fixed/worked around by inserting something as > simple > as inserting the following lines at the right place of the rpm package > provider: > > if output.empty? > return nil > end > > to be inserted right above the following lines: > > @property_hash.update(self.class.nevra_to_hash(output)) > return @property_hash.dup > > HOWEVER, I don't understand the inner workings of the package type and > its yum and rpm providers well enough to be sure. Any chance someone > might take a look? > I will help to resolve this bug as much as I can, but I won't be > able to > do much coding yet, given my (very) limited knowledge of Ruby.
Does that patch (well, that snippet) resolve the problems for you? The hardest part for me maintaining these files is knowing what the behaviour *should* be. David Lutterkort has generally done a good job of vetting the patches and handling the bugs, but he's been only sporadically available recently, so we do need more people helping out with rpm/yum maintenance. -- I have lost friends, some by death... others through sheer inability to cross the street. -- Virginia Woolf --------------------------------------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
