Issue #3373 has been updated by Brice Figureau.

Luke Kanies wrote:
> One point worth making - I think you could make the overall patch a lot 
> easier if you just did a straight REST call from the File class.  Given that 
> you specifically don't want the abstraction here, it makes sense to retrieve 
> the content directly with http.  It'll probably be a small amount of 
> duplicated code, but will overall make the system much cleaner.
> 
> What do you think?

This will be definitely easier, and won't involve this thread game I had to put 
in ContentStream only to overcome Net::HTTP stupideness.
I'll see how I can rework this.
----------------------------------------
Refactor #3373: Puppet should stream files directly to disk
http://projects.puppetlabs.com/issues/3373

Author: Luke Kanies
Status: Accepted
Priority: Normal
Assigned to: Brice Figureau
Category: file
Target version: Rowlf
Affected version: 0.25.4
Branch: 


We currently load files into memory rather than streaming them to disk.  It's 
much more memory efficient to stream them directly to disk.

Brice has an initial version of this, and it'd be great to get this in quickly.

We need an equivalent feature on the server -- streaming files directly from 
disk.


-- 
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://projects.puppetlabs.com/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