If you can make it as provably performant as ParsedFile and not require a
PhD in Computer Science language theory to write complex lenses, then +1.

That said, I've found it generally less error prone and more flexible to
just model files in Ruby and be done with it. Particularly for complex
files.

What I generally want:

1) Low I/O: Do all of my operations on a file at once, don't keep opening,
copying, writing, and closing files.
1a) Don't leave my files in a half configured state.
2) If there is difficulty parsing a file, let me know what's going on,
where and why.
3) Handle unknown fields gracefully (ParsedFile does this well, Augeas
depends on the lens)
4) Make most file modelling operations as simple as possible.

For maintenance reference and comparison, take a look at
http://forge.puppetlabs.com/domcleal/augeasproviders vs
http://www.kartar.net/2010/02/puppet-parsedfile-types-and-providers/.

I like the augeasproviders project but I can see where many shops would
find it quite difficult to maintain over time and, of course, it still has
my concerns with #1.

Thanks,

Trevor




On Wed, Feb 5, 2014 at 7:17 AM, Daniele Sluijters <
daniele.sluijt...@gmail.com> wrote:

> Hi everyone,
>
> For those who made it out to Gent, it was nice getting to know you all and
> I hope you all
> returned safe and sound.
>
> At Cfgmgmt a discussion started about ParsedFile and how just about
> everyone would prefer
> to see that gone and replaced by something more workable. It quite quickly
> became clear that
> there was a strong preference to replace it with (something like) Augeas.
>
> I've raised a ticket, https://tickets.puppetlabs.com/browse/PUP-1590,
> with what I remember
> from that discussion.
>
> I'd like to ask everyone to chime in. Try and keep the discussion here on
> the mailing lists and
> if you agree with the general sentiment of the ticket feel free to vote
> for it.
>
> --
> Daniele Sluijters
>
> --
> 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 puppet-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/28235664-253f-42b1-bdc6-e7f65015d8e9%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaug...@onyxpoint.com

-- This account not approved for unencrypted proprietary information --

-- 
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 puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoXsOgesz4ioTLNMJnqNKWTEWxHuWYHCB3uHOyi9DYQd1g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to