Hi all,

I'm working through the Puppet pull request backlog and I would like to
gather feedback on how the ParsedFile provider should act. Right now if an
exception is raised while the ParsedFile is reading a target file, it will
fail and any records that have not been prefetched will be lost (
http://projects.puppetlabs.com/issues/5752). The Puppet pull request 1100 (
https://github.com/puppetlabs/puppet/pull/1100) fixes this by rescuing any
exceptions and discarding them, which won't destroy all unfetched records,
but it does run the risk of destroying the records for a single file.

So, what's the best way to handle the case where a file can't be
prefetched? Should we not touch any resources that the ParsedFile provider
manages on a failure like this, or should we risk losing some records to
manage the rest of the resources?

-- 
Adrien Thebo | Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to