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
 
Luke Kanies  
View profile  
 More options May 25 2008, 8:28 pm
From: Luke Kanies <l...@madstop.com>
Date: Sun, 25 May 2008 19:28:05 -0500
Local: Sun, May 25 2008 8:28 pm
Subject: Re: [Puppet Users] Re: puppet thinks yum fails when it doesn't
On May 22, 2008, at 5:19 PM, David Lutterkort wrote:

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

The @property_hash hash, which is not required by the general provider  
interface but is usually used by the package providers, is basically  
how the provider stores its current values.

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').

--
Talent hits a target no one else can hit; Genius hits a target no one
else can see. -- Arthur Schopenhauer
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


 
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.