Issue #728 has been updated by luke.

Status changed from Accepted to Closed
Affected version set to 0.24.7

Having tested this recently, this actually works fine.
----------------------------------------
Bug #728: ParsedFile providers do not work outside of a transaction
http://projects.reductivelabs.com/issues/show/728

Author: luke
Status: Closed
Priority: Low
Assigned to: luke
Category: RAL
Target version: 0.25.0
Complexity: Unknown
Patch: None
Affected version: 0.24.7
Keywords: 


When using types with a [[ParsedFile]] provider, the class-level prefetch is 
never called, which means that their current state is never retrieved.  This 
makes them not work with tools like 'ralsh'.

The fix should be relatively straightforward -- just find a way to trigger a 
prefetch if the data is missing -- but it likely requires a relatively 
high-level redesign to make this work.  I made an attempt at triggering off of 
an empty @property_hash, and then creating a new hash during flush() (so that 
the provider class still had the data to write it to disk), but this caused 
other problems.


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to