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.

regards,
Sven

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to