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 28 2008, 3:56 pm
From: David Lutterkort <dlut...@redhat.com>
Date: Wed, 28 May 2008 12:56:26 -0700
Local: Wed, May 28 2008 3:56 pm
Subject: Re: [Puppet Users] Re: puppet thinks yum fails when it doesn't

On Sun, 2008-05-25 at 19:28 -0500, Luke Kanies wrote:
> That is, if the provider has been prefetched, then those prefetched  
> values will be in that hash, or if the provider supports flushing,  
> then the values will usually get set in that hash and flushed to disk  
> at the end.

> This is part of the API that has grown up informally and needs to be  
> made a more official part of the API, since it's getting a bit messy.  
> Of course, some classes might not ever use it (e.g., users and groups  
> just directly run commands, so they don't use 'flush', and they might  
> never use 'prefetch').

My confusion mostly comes from the following specific to the yum/rpm
provider:

      * the yum provider is a child of the rpm provider
      * the rpm provider has a 'instances' method that returns info
        about currently installed packages
      * the yum provider overrides 'prefetch', but calls 'super' in the
        overridden prefetch
      * even though, the @property_hash in yum provider instances for
        installed packages is empty

It shouldn't be empty, right ?

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.