Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion puppet thinks yum fails when it doesn't
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Lutterkort  
View profile  
 More options May 22 2008, 6:19 pm
From: David Lutterkort <dlut...@redhat.com>
Date: Thu, 22 May 2008 22:19:26 +0000
Local: Thurs, May 22 2008 6:19 pm
Subject: Re: [Puppet Users] Re: puppet thinks yum fails when it doesn't

On Tue, 2008-05-20 at 14:25 -0700, Jos Backus wrote:
> On Tue, May 20, 2008 at 09:17:39PM +0000, David Lutterkort wrote:
> > Can you add the log of a debug run for this ? That would make it a
> > little clearer if it is the same problem or not.

> The relevant bits from the `puppetd -tdv' log are:

> debug: Puppet::Type::Package::ProviderYum: Not suitable: false value
> debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q libacl.i386
> --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION}
> %{RELEASE} %{ARCH}
> '

What OS/version are you on ? I assume it's one that uses yum. I don't
understand why it prints the line 'Not suitable: false value' - it also
does that on my Fedora machine _after_ running the yumhelper (which
exits with status 0).

There's also some confusion in my head (and the code) as to what the
@property_hash in a provider refers to. In particular, in the query
method in the rpm provider, @property_hash should refer to the
properties prefilled by the 'instances' method of the rpm provider;
instead these seem to be empty. There's something funky going on between
a provider and its parent .. not sure what though.

David


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.